27 #ifndef PLOTMSTABS_QO_H_
28 #define PLOTMSTABS_QO_H_
36 #include <QToolButton>
59 QString str(value.
c_str());
61 static bool setChooser(QComboBox* chooser,
const char* value) {
77 virtual QString
tabName()
const = 0;
83 return QList<QToolButton*>(); }
123 QString str(text.
c_str());
QMap< QLabel *, QString > itsLabelDefaults_
Default text for labels, so that they can be easily switched to red or normal depending on whether th...
static bool setChooser(QComboBox *chooser, const casacore::String &value)
static QString highlightifyText(const QString &text, bool highlight)
Returns the given text altered with HTML tags for highlighting, meant to be assigned to a Qt widget's...
static QString highlightifyText(const casacore::String &text, bool changed)
Variation taking a casacore String.
PlotMSPlotter * itsPlotter_
Plotter.
void highlightWidgetText(QLabel *label, bool highlight)
These alter the displayed text of Some widget types have a.title not a.text, and there's no Qt4 abstr...
Controller class for plotms.
virtual ~PlotMSTab()
Destructor.
PlotMSTab(PlotMSPlotter *parent)
Non-Static //.
const Char * c_str() const
Get char array.
PlotMSApp * itsParent_
Parent.
static QString highlightifyText(const char *text, bool changed)
Variation of highlightifyText taking plain C-style text.
virtual QList< QToolButton * > toolButtons() const
Returns all tool buttons on this tab.
Abstract parent for any widget that goes in the tabbed side panel of the PlotMSPlotter.
Interface for classes that wish to be notified when PlotMSWatchedParameters have changed.
String: the storage and methods of handling collections of characters.
High(ish)-level plotter class that manages the GUI (semi-) transparently to the rest of PlotMS...
static bool setChooser(QComboBox *chooser, const QString &value)
Static //.
virtual void setupForMaxWidth(int maxWidth)
Sets up the tab for the given maximum width.
virtual QString tabName() const =0
Returns a string to use as the tab name for this widget.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static bool setChooser(QComboBox *chooser, const char *value)