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. | |
| void | yAxisIdentifierRemoved (int index) |
| A y-axis has been removed. | |
Public Member Functions | |
| PlotMSAxesTab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent) | |
| Constructor which takes the parent tab and plotter. | |
| ~PlotMSAxesTab () | |
| Destructor. | |
| QString | tabName () const |
| Implements PlotMSTab::tabName(). | |
| void | getValue (PlotMSPlotParameters ¶ms) const |
| Implements PlotMSPlotSubtab::getValue(). | |
| void | setValue (const PlotMSPlotParameters ¶ms) |
| Implements PlotMSPlotSubtab::setValue(). | |
| void | update (const PlotMSPlot &plot) |
| Implements PlotMSPlotSubtab::update(). | |
| bool | isAxesValid () const |
| Makes sure the user has not specified duplicate axes in data/location. | |
Private Slots | |
| void | addYWidget () |
| Add a new y-axis. | |
| void | removeYWidget () |
| Remove a y-axis. | |
| void | axisIdentifierChanged (PlotMSAxisWidget *axisWidget) |
| Selected data for a y-axis has changed. | |
| void | yAxisSelected (int index) |
| Display the settings for a new y-axis. | |
Private Member Functions | |
| void | setMultipleAxesYEnabled () |
| Hide/show features associated with multipleYAxes. | |
| void | setYAxisLabel (PlotMSAxisWidget *yWidget, int index) |
| Relabel based on the new y-axis index. | |
| void | setRangeFromCache (bool foundInCache, bool isDate) |
| Get cache data for manual range. | |
Private Attributes | |
| PlotMSAxisWidget * | itsXWidget_ |
| Widgets for the x axis and y axis, respectively. | |
| QList< PlotMSAxisWidget * > | itsYWidgets_ |
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.
| void casa::PlotMSAxesTab::addYWidget | ( | ) | [private, slot] |
Add a new y-axis.
| void casa::PlotMSAxesTab::axisIdentifierChanged | ( | PlotMSAxisWidget * | axisWidget | ) | [private, slot] |
Selected data for a y-axis has changed.
| void casa::PlotMSAxesTab::getValue | ( | PlotMSPlotParameters & | params | ) | const [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.
| void casa::PlotMSAxesTab::removeYWidget | ( | ) | [private, slot] |
Remove a y-axis.
| void casa::PlotMSAxesTab::setMultipleAxesYEnabled | ( | ) | [private] |
Hide/show features associated with multipleYAxes.
| void casa::PlotMSAxesTab::setRangeFromCache | ( | bool | foundInCache, | |
| bool | isDate | |||
| ) | [private] |
Get cache data for manual range.
| void casa::PlotMSAxesTab::setValue | ( | const PlotMSPlotParameters & | params | ) | [virtual] |
Implements PlotMSPlotSubtab::setValue().
WARNING: for now, only works with PlotMSSinglePlotParameters.
Implements casa::PlotMSPlotSubtab.
| void casa::PlotMSAxesTab::setYAxisLabel | ( | PlotMSAxisWidget * | yWidget, | |
| int | index | |||
| ) | [private] |
Relabel based on the new y-axis index.
| QString casa::PlotMSAxesTab::tabName | ( | ) | const [inline, virtual] |
Implements PlotMSTab::tabName().
Implements casa::PlotMSTab.
Definition at line 53 of file PlotMSAxesTab.qo.h.
| void casa::PlotMSAxesTab::update | ( | const PlotMSPlot & | plot | ) | [virtual] |
Implements PlotMSPlotSubtab::update().
WARNING: for now, only works with PlotMSSinglePlotParameters.
Implements casa::PlotMSPlotSubtab.
| void casa::PlotMSAxesTab::yAxisIdentifierChanged | ( | int | index, | |
| QString | id | |||
| ) | [signal] |
Identifier for a y-axis has changed.
| void casa::PlotMSAxesTab::yAxisIdentifierRemoved | ( | int | index | ) | [signal] |
A y-axis has been removed.
| void casa::PlotMSAxesTab::yAxisSelected | ( | int | index | ) | [private, slot] |
Display the settings for a new y-axis.
PlotMSAxisWidget* casa::PlotMSAxesTab::itsXWidget_ [private] |
Widgets for the x axis and y axis, respectively.
Definition at line 102 of file PlotMSAxesTab.qo.h.
QList<PlotMSAxisWidget*> casa::PlotMSAxesTab::itsYWidgets_ [private] |
Definition at line 103 of file PlotMSAxesTab.qo.h.
1.6.1