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

Widget for choosing a single axis. More...

#include <PlotMSAxisWidget.qo.h>

Inheritance diagram for casa::PlotMSAxisWidget:
casa::QtEditingWidget

List of all members.

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

PlotRangeWidgetitsRangeWidget_
 Widget for the range.

Detailed Description

Widget for choosing a single axis.

Definition at line 44 of file PlotMSAxisWidget.qo.h.


Constructor & Destructor Documentation

casa::PlotMSAxisWidget::PlotMSAxisWidget ( PMS::Axis  defaultAxis,
int  attachAxes,
QWidget *  parent = NULL 
)

Constructor which takes optional parent widget.

Destructor.


Member Function Documentation

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.

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.

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.


Member Data Documentation

Widget for the range.

Definition at line 87 of file PlotMSAxisWidget.qo.h.


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