casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::PlotMSMultiAxesTab::MultiAxes Class Reference

Class that manages the list of axes widgets. More...

List of all members.

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.
PlotMSAxisWidgetaxis (int index)
 Returns the axis widget at the given index.
const PlotMSAxisWidgetaxis (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

PlotMSMultiAxesTabitsParent_
 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.

Detailed Description

Class that manages the list of axes widgets.

Definition at line 68 of file PlotMSMultiAxesTab.qo.h.


Constructor & Destructor Documentation

Constructor that takes parent.

Destructor.


Member Function Documentation

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.

Returns the axis widget at the given index.

Returns the index of the given button.

Removes the axis at the given index.

Sets up into the given widget.

Returns the size of the axes list.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file: