casa
$Rev:20696$
|
Class that manages the list of axes widgets. More...
Public Member Functions | |
MultiAxes (PlotMSMultiAxesTab *parent) | |
Constructor that takes parent. | |
~MultiAxes () | |
Destructor. | |
void | setupUi (QWidget *widget) |
Sets up into the given widget. | |
int | size () const |
Returns the size of the axes list. | |
PlotMSAxisWidget * | axis (int index) |
Returns the axis widget at the given index. | |
const PlotMSAxisWidget * | axis (int index) const |
void | addAxis (PMS::Axis value, int attachAxes, const char *removeSlot) |
Adds the given axis with the given canvas attach axes flag. | |
void | removeAxis (int index) |
Removes the axis at the given index. | |
int | indexOfButton (QPushButton *button) |
Returns the index of the given button. | |
Private Attributes | |
PlotMSMultiAxesTab * | itsParent_ |
Parent. | |
QVBoxLayout * | itsLayout_ |
Main layout. | |
QList< QHBoxLayout * > | itsLayouts_ |
Layouts, that hold the widget and close buttons. | |
QList< PlotMSAxisWidget * > | itsAxisWidgets_ |
Axes widgets. | |
QList< QPushButton * > | itsButtons_ |
Buttons. |
Class that manages the list of axes widgets.
Definition at line 68 of file PlotMSMultiAxesTab.qo.h.
Constructor that takes parent.
Destructor.
void casa::PlotMSMultiAxesTab::MultiAxes::addAxis | ( | PMS::Axis | value, |
int | attachAxes, | ||
const char * | removeSlot | ||
) |
Adds the given axis with the given canvas attach axes flag.
Connects the remove button to the given slot on the parent.
PlotMSAxisWidget* casa::PlotMSMultiAxesTab::MultiAxes::axis | ( | int | index | ) |
Returns the axis widget at the given index.
const PlotMSAxisWidget* casa::PlotMSMultiAxesTab::MultiAxes::axis | ( | int | index | ) | const |
int casa::PlotMSMultiAxesTab::MultiAxes::indexOfButton | ( | QPushButton * | button | ) |
Returns the index of the given button.
void casa::PlotMSMultiAxesTab::MultiAxes::removeAxis | ( | int | index | ) |
Removes the axis at the given index.
void casa::PlotMSMultiAxesTab::MultiAxes::setupUi | ( | QWidget * | widget | ) |
Sets up into the given widget.
int casa::PlotMSMultiAxesTab::MultiAxes::size | ( | ) | const |
Returns the size of the axes list.
QList<PlotMSAxisWidget*> casa::PlotMSMultiAxesTab::MultiAxes::itsAxisWidgets_ [private] |
Axes widgets.
Definition at line 110 of file PlotMSMultiAxesTab.qo.h.
QList<QPushButton*> casa::PlotMSMultiAxesTab::MultiAxes::itsButtons_ [private] |
Buttons.
Definition at line 113 of file PlotMSMultiAxesTab.qo.h.
QVBoxLayout* casa::PlotMSMultiAxesTab::MultiAxes::itsLayout_ [private] |
Main layout.
Definition at line 104 of file PlotMSMultiAxesTab.qo.h.
QList<QHBoxLayout*> casa::PlotMSMultiAxesTab::MultiAxes::itsLayouts_ [private] |
Layouts, that hold the widget and close buttons.
Definition at line 107 of file PlotMSMultiAxesTab.qo.h.
Parent.
Definition at line 101 of file PlotMSMultiAxesTab.qo.h.