casa::PlotMSAxesTab Class Reference

Subclass of PlotMSPlotSubtab that manages plot axes parameters. More...

#include <PlotMSAxesTab.qo.h>

Inheritance diagram for casa::PlotMSAxesTab:
casa::PlotMSPlotSubtab casa::PlotMSTab casa::PlotMSParametersWatcher

List of all members.

Signals

void yAxisIdentifierChanged (int index, QString id)
 Identifier for a y-axis has changed.
void yAxisIdentifierRemoved (int index)
 A y-axis has been removed.

Public Member Functions

 PlotMSAxesTab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent)
 Constructor which takes the parent tab and plotter.
 ~PlotMSAxesTab ()
 Destructor.
QString tabName () const
 Implements PlotMSTab::tabName().
void getValue (PlotMSPlotParameters &params) const
 Implements PlotMSPlotSubtab::getValue().
void setValue (const PlotMSPlotParameters &params)
 Implements PlotMSPlotSubtab::setValue().
void update (const PlotMSPlot &plot)
 Implements PlotMSPlotSubtab::update().
bool isAxesValid () const
 Makes sure the user has not specified duplicate axes in data/location.

Private Slots

void addYWidget ()
 Add a new y-axis.
void removeYWidget ()
 Remove a y-axis.
void axisIdentifierChanged (PlotMSAxisWidget *axisWidget)
 Selected data for a y-axis has changed.
void yAxisSelected (int index)
 Display the settings for a new y-axis.

Private Member Functions

void setMultipleAxesYEnabled ()
 Hide/show features associated with multipleYAxes.
void setYAxisLabel (PlotMSAxisWidget *yWidget, int index)
 Relabel based on the new y-axis index.
void setRangeFromCache (bool foundInCache, bool isDate)
 Get cache data for manual range.

Private Attributes

PlotMSAxisWidgetitsXWidget_
 Widgets for the x axis and y axis, respectively.
QList< PlotMSAxisWidget * > itsYWidgets_

Detailed Description

Subclass of PlotMSPlotSubtab that manages plot axes parameters.

Definition at line 41 of file PlotMSAxesTab.qo.h.


Constructor & Destructor Documentation

casa::PlotMSAxesTab::PlotMSAxesTab ( PlotMSPlotTab plotTab,
PlotMSPlotter parent 
)

Constructor which takes the parent tab and plotter.

casa::PlotMSAxesTab::~PlotMSAxesTab (  ) 

Destructor.


Member Function Documentation

void casa::PlotMSAxesTab::addYWidget (  )  [private, slot]

Add a new y-axis.

void casa::PlotMSAxesTab::axisIdentifierChanged ( PlotMSAxisWidget axisWidget  )  [private, slot]

Selected data for a y-axis has changed.

void casa::PlotMSAxesTab::getValue ( PlotMSPlotParameters params  )  const [virtual]

Implements PlotMSPlotSubtab::getValue().

WARNING: for now, only works with PlotMSSinglePlotParameters.

Implements casa::PlotMSPlotSubtab.

bool casa::PlotMSAxesTab::isAxesValid (  )  const

Makes sure the user has not specified duplicate axes in data/location.

void casa::PlotMSAxesTab::removeYWidget (  )  [private, slot]

Remove a y-axis.

void casa::PlotMSAxesTab::setMultipleAxesYEnabled (  )  [private]

Hide/show features associated with multipleYAxes.

void casa::PlotMSAxesTab::setRangeFromCache ( bool  foundInCache,
bool  isDate 
) [private]

Get cache data for manual range.

void casa::PlotMSAxesTab::setValue ( const PlotMSPlotParameters params  )  [virtual]

Implements PlotMSPlotSubtab::setValue().

WARNING: for now, only works with PlotMSSinglePlotParameters.

Implements casa::PlotMSPlotSubtab.

void casa::PlotMSAxesTab::setYAxisLabel ( PlotMSAxisWidget yWidget,
int  index 
) [private]

Relabel based on the new y-axis index.

QString casa::PlotMSAxesTab::tabName (  )  const [inline, virtual]

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

Definition at line 53 of file PlotMSAxesTab.qo.h.

void casa::PlotMSAxesTab::update ( const PlotMSPlot plot  )  [virtual]

Implements PlotMSPlotSubtab::update().

WARNING: for now, only works with PlotMSSinglePlotParameters.

Implements casa::PlotMSPlotSubtab.

void casa::PlotMSAxesTab::yAxisIdentifierChanged ( int  index,
QString  id 
) [signal]

Identifier for a y-axis has changed.

void casa::PlotMSAxesTab::yAxisIdentifierRemoved ( int  index  )  [signal]

A y-axis has been removed.

void casa::PlotMSAxesTab::yAxisSelected ( int  index  )  [private, slot]

Display the settings for a new y-axis.


Member Data Documentation

Widgets for the x axis and y axis, respectively.

Definition at line 102 of file PlotMSAxesTab.qo.h.

Definition at line 103 of file PlotMSAxesTab.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