casa
5.7.0-16
|
Subclass of PlotMSPlotSubtab that manages plot axes parameters. More...
#include <PlotMSAxesTab.qo.h>
Signals | |
void | yAxisIdentifierChanged (int index, QString id) |
Identifier for a y-axis has changed. More... | |
void | yAxisIdentifierRemoved (int index) |
A y-axis has been removed. More... | |
Signals inherited from casa::PlotMSPlotSubtab | |
void | changed () |
This signal should be emitted whenever the value of the widget changes because of user interaction. More... | |
Public Member Functions | |
PlotMSAxesTab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent) | |
Constructor which takes the parent tab and plotter. More... | |
~PlotMSAxesTab () | |
Destructor. More... | |
QString | tabName () const |
Implements PlotMSTab::tabName(). More... | |
void | getValue (PlotMSPlotParameters ¶ms) const |
Implements PlotMSPlotSubtab::getValue(). More... | |
void | setValue (const PlotMSPlotParameters ¶ms) |
Implements PlotMSPlotSubtab::setValue(). More... | |
void | update (const PlotMSPlot &plot) |
Implements PlotMSPlotSubtab::update(). More... | |
bool | isAxesValid () const |
Makes sure the user has not specified duplicate axes in data/location. More... | |
Public Member Functions inherited from casa::PlotMSPlotSubtab | |
PlotMSPlotSubtab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent) | |
Constructor which takes the parent tab and plotter. More... | |
virtual | ~PlotMSPlotSubtab () |
Destructor. More... | |
virtual void | parametersHaveChanged (const PlotMSWatchedParameters ¶ms, int updateFlag) |
Implements PlotMSParametersWatcher::parametersHaveChanged() to do nothing unless overridden in the child class. More... | |
Public Member Functions inherited from casa::PlotMSTab | |
PlotMSTab (PlotMSPlotter *parent) | |
Non-Static //. More... | |
virtual | ~PlotMSTab () |
Destructor. More... | |
virtual QList< QToolButton * > | toolButtons () const |
Returns all tool buttons on this tab. More... | |
virtual void | setupForMaxWidth (int maxWidth) |
Sets up the tab for the given maximum width. More... | |
Public Member Functions inherited from casa::PlotMSParametersWatcher | |
PlotMSParametersWatcher () | |
Constructor. More... | |
virtual | ~PlotMSParametersWatcher () |
Destructor. More... | |
Private Slots | |
void | addYWidget () |
Add a new y-axis. More... | |
void | removeYWidget () |
Remove a y-axis. More... | |
void | axisIdentifierChanged (PlotMSAxisWidget *axisWidget) |
Selected data for a y-axis has changed. More... | |
void | yAxisSelected (int index) |
Display the settings for a new y-axis. More... | |
void | overlayChanged () |
atm/tsky/sideband enabled/changed More... | |
Private Member Functions | |
void | setMultipleAxesYEnabled () |
Hide/show features associated with multipleYAxes. More... | |
void | setYAxisLabel (PlotMSAxisWidget *yWidget, int index) |
Relabel based on the new y-axis index. More... | |
void | setRangeFromCache (bool foundInCache, bool isDate) |
Get cache data for manual range. More... | |
Private Attributes | |
PlotMSAxisWidget * | itsXWidget_ |
Widgets for the x axis and y axis, respectively. More... | |
QList< PlotMSAxisWidget * > | itsYWidgets_ |
Additional Inherited Members | |
Static Public Member Functions inherited from casa::PlotMSTab | |
static bool | setChooser (QComboBox *chooser, const QString &value) |
Static //. More... | |
static bool | setChooser (QComboBox *chooser, const casacore::String &value) |
static bool | setChooser (QComboBox *chooser, const char *value) |
Protected Member Functions inherited from casa::PlotMSPlotSubtab | |
PlotMSPlotParameters | currentlySetParameters () const |
See PlotMSPlotTab::currentlySetParameters(). More... | |
Protected Member Functions inherited from casa::PlotMSTab | |
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 abstract class that encompasses all types that do have.text, so we overload highlightWidgetText for several classes. More... | |
void | highlightWidgetText (QGroupBox *box, bool highlight) |
void | highlightWidgetText (QAbstractButton *but, bool highlight) |
Static Protected Member Functions inherited from casa::PlotMSTab | |
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 title or similar property. More... | |
static QString | highlightifyText (const casacore::String &text, bool changed) |
Variation taking a casacore String. More... | |
static QString | highlightifyText (const char *text, bool changed) |
Variation of highlightifyText taking plain C-style text. More... | |
Protected Attributes inherited from casa::PlotMSPlotSubtab | |
PlotMSPlotTab * | itsPlotTab_ |
Plot tab. More... | |
Protected Attributes inherited from casa::PlotMSTab | |
PlotMSApp * | itsParent_ |
Parent. More... | |
PlotMSPlotter * | itsPlotter_ |
Plotter. More... | |
QMap< QLabel *, QString > | itsLabelDefaults_ |
Default text for labels, so that they can be easily switched to red or normal depending on whether the item has changed or not. More... | |
Subclass of PlotMSPlotSubtab that manages plot axes parameters.
Definition at line 41 of file PlotMSAxesTab.qo.h.
casa::PlotMSAxesTab::PlotMSAxesTab | ( | PlotMSPlotTab * | plotTab, |
PlotMSPlotter * | parent | ||
) |
Constructor which takes the parent tab and plotter.
casa::PlotMSAxesTab::~PlotMSAxesTab | ( | ) |
Destructor.
|
privateslot |
Add a new y-axis.
|
privateslot |
Selected data for a y-axis has changed.
|
virtual |
Implements PlotMSPlotSubtab::getValue().
WARNING: for now, only works with PlotMSSinglePlotParameters.
Implements casa::PlotMSPlotSubtab.
bool casa::PlotMSAxesTab::isAxesValid | ( | ) | const |
Makes sure the user has not specified duplicate axes in data/location.
|
privateslot |
atm/tsky/sideband enabled/changed
|
privateslot |
Remove a y-axis.
|
private |
Hide/show features associated with multipleYAxes.
|
private |
Get cache data for manual range.
|
virtual |
Implements PlotMSPlotSubtab::setValue().
WARNING: for now, only works with PlotMSSinglePlotParameters.
Implements casa::PlotMSPlotSubtab.
|
private |
Relabel based on the new y-axis index.
|
inlinevirtual |
Implements PlotMSTab::tabName().
Implements casa::PlotMSTab.
Definition at line 53 of file PlotMSAxesTab.qo.h.
|
virtual |
Implements PlotMSPlotSubtab::update().
WARNING: for now, only works with PlotMSSinglePlotParameters.
Implements casa::PlotMSPlotSubtab.
|
signal |
Identifier for a y-axis has changed.
|
signal |
A y-axis has been removed.
|
privateslot |
Display the settings for a new y-axis.
|
private |
Widgets for the x axis and y axis, respectively.
Definition at line 105 of file PlotMSAxesTab.qo.h.
|
private |
Definition at line 106 of file PlotMSAxesTab.qo.h.