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.

Signals

void axisIdentifierChanged (PlotMSAxisWidget *)
void axisChanged ()

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 ()
QLabel * axisLabel ()
PMS::Axis axis () const
 Gets the current set values in the widget.
PMS::DataColumn data () const
PlotAxis attachAxis () const
bool matchesData (const PlotMSAxisWidget *other) const
bool rangeCustom () const
prange_t range () const
void setRange (bool isDate, double from, double to)
 set default custom range according to chosen MS
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 insertLabelDefaults (QMap< QLabel *, QString > &map)
QString getIdentifier () const
 Returns an identifier for this axis data.

Private Slots

void axisChanged (const QString &value)
 Slot for when the axis value changed.
void axisDataChanged ()

Private Member Functions

void initPlotAxis (int attachAxis)
void setAttachAxis (PlotAxis attachAxis)

Private Attributes

PlotRangeWidgetitsRangeWidget_
 Widget for the range.

Detailed Description

Widget for choosing a single axis.

Definition at line 43 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.

casa::PlotMSAxisWidget::~PlotMSAxisWidget (  ) 

Destructor.


Member Function Documentation

PlotAxis casa::PlotMSAxisWidget::attachAxis (  )  const
QLabel* casa::PlotMSAxisWidget::attachLabel (  )  [inline]

Definition at line 57 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::axisChanged (  )  [signal]
void casa::PlotMSAxisWidget::axisDataChanged (  )  [private, slot]
void casa::PlotMSAxisWidget::axisIdentifierChanged ( PlotMSAxisWidget  )  [signal]
QLabel* casa::PlotMSAxisWidget::axisLabel (  )  [inline]

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

PMS::DataColumn casa::PlotMSAxisWidget::data (  )  const
QLabel* casa::PlotMSAxisWidget::dataLabel (  )  [inline]

Returns the labels used in the widget.

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

QString casa::PlotMSAxisWidget::getIdentifier (  )  const

Returns an identifier for this axis data.

void casa::PlotMSAxisWidget::initPlotAxis ( int  attachAxis  )  [private]
void casa::PlotMSAxisWidget::insertLabelDefaults ( QMap< QLabel *, QString > &  map  ) 
bool casa::PlotMSAxisWidget::matchesData ( const PlotMSAxisWidget other  )  const
prange_t casa::PlotMSAxisWidget::range (  )  const
bool casa::PlotMSAxisWidget::rangeCustom (  )  const
QLabel* casa::PlotMSAxisWidget::rangeLabel (  )  [inline]

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

void casa::PlotMSAxisWidget::setAttachAxis ( PlotAxis  attachAxis  )  [private]
void casa::PlotMSAxisWidget::setInCache ( bool  inCache  ) 

Sets the "in cache" checkbox to the given.

void casa::PlotMSAxisWidget::setRange ( bool  isDate,
double  from,
double  to 
)

set default custom range according to chosen MS

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 97 of file PlotMSAxisWidget.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1