casa
$Rev:20696$
|
Widget for choosing a single axis. More...
#include <PlotMSAxisWidget.qo.h>
Public Member Functions | |
PlotMSAxisWidget (PMS::Axis defaultAxis, int attachAxes, QWidget *parent=NULL) | |
Constructor which takes optional parent widget. | |
~PlotMSAxisWidget () | |
Destructor. | |
QLabel * | dataLabel () |
Returns the labels used in the widget. | |
QLabel * | attachLabel () |
QLabel * | rangeLabel () |
PMS::Axis | axis () const |
Gets the current set values in the widget. | |
PMS::DataColumn | data () const |
PlotAxis | attachAxis () const |
bool | rangeCustom () const |
prange_t | range () const |
void | setValue (PMS::Axis axis, PMS::DataColumn data, PlotAxis attachAxis, bool rangeCustom, prange_t range) |
Sets the displayed value to the given. | |
void | setInCache (bool inCache) |
Sets the "in cache" checkbox to the given. | |
void | changed () |
This signal should be emitted whenever the user changes any value settings in the GUI. | |
Private Slots | |
void | axisChanged (const QString &value) |
Slot for when the axis value changed. | |
Private Attributes | |
PlotRangeWidget * | itsRangeWidget_ |
Widget for the range. |
Widget for choosing a single axis.
Definition at line 44 of file PlotMSAxisWidget.qo.h.
casa::PlotMSAxisWidget::PlotMSAxisWidget | ( | PMS::Axis | defaultAxis, |
int | attachAxes, | ||
QWidget * | parent = NULL |
||
) |
Constructor which takes optional parent widget.
Destructor.
PlotAxis casa::PlotMSAxisWidget::attachAxis | ( | ) | const |
QLabel* casa::PlotMSAxisWidget::attachLabel | ( | ) | [inline] |
Definition at line 58 of file PlotMSAxisWidget.qo.h.
PMS::Axis casa::PlotMSAxisWidget::axis | ( | ) | const |
Gets the current set values in the widget.
void casa::PlotMSAxisWidget::axisChanged | ( | const QString & | value | ) | [private, slot] |
Slot for when the axis value changed.
void casa::PlotMSAxisWidget::changed | ( | ) |
This signal should be emitted whenever the user changes any value settings in the GUI.
Reimplemented from casa::QtEditingWidget.
PMS::DataColumn casa::PlotMSAxisWidget::data | ( | ) | const |
QLabel* casa::PlotMSAxisWidget::dataLabel | ( | ) | [inline] |
Returns the labels used in the widget.
Definition at line 57 of file PlotMSAxisWidget.qo.h.
prange_t casa::PlotMSAxisWidget::range | ( | ) | const |
bool casa::PlotMSAxisWidget::rangeCustom | ( | ) | const |
QLabel* casa::PlotMSAxisWidget::rangeLabel | ( | ) | [inline] |
Definition at line 59 of file PlotMSAxisWidget.qo.h.
void casa::PlotMSAxisWidget::setInCache | ( | bool | inCache | ) |
Sets the "in cache" checkbox to the given.
void casa::PlotMSAxisWidget::setValue | ( | PMS::Axis | axis, |
PMS::DataColumn | data, | ||
PlotAxis | attachAxis, | ||
bool | rangeCustom, | ||
prange_t | range | ||
) |
Sets the displayed value to the given.
Widget for the range.
Definition at line 87 of file PlotMSAxisWidget.qo.h.