casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casa::PlotMSPlotSubtab Class Referenceabstract

Subclass of PlotMSTab for tabs that are meant to be used as subtabs in a PlotMSPlotTab. More...

#include <PlotMSPlotTab.qo.h>

Inheritance diagram for casa::PlotMSPlotSubtab:
casa::PlotMSTab casa::PlotMSParametersWatcher casa::PlotMSAxesTab casa::PlotMSCacheTab casa::PlotMSCalibrationTab casa::PlotMSCanvasTab casa::PlotMSDataTab casa::PlotMSDisplayTab casa::PlotMSIterateTab casa::PlotMSTransformationsTab

Signals

void changed ()
 This signal should be emitted whenever the value of the widget changes because of user interaction. More...
 

Public Member Functions

 PlotMSPlotSubtab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent)
 Constructor which takes the parent tab and plotter. More...
 
virtual ~PlotMSPlotSubtab ()
 Destructor. More...
 
virtual void getValue (PlotMSPlotParameters &params) const =0
 Gets/Sets the casacore::MS filename, selection, and averaging using a PlotMSPlotParameters. More...
 
virtual void setValue (const PlotMSPlotParameters &params)=0
 
virtual void update (const PlotMSPlot &plot)=0
 Updates the labels and other widgets in the subtab using the given plot to check changes against. More...
 
virtual void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)
 Implements PlotMSParametersWatcher::parametersHaveChanged() to do nothing unless overridden in the child class. More...
 
- Public Member Functions inherited from casa::PlotMSTab
 PlotMSTab (PlotMSPlotter *parent)
 Non-Static //. More...
 
virtual ~PlotMSTab ()
 Destructor. More...
 
virtual QString tabName () const =0
 Returns a string to use as the tab name for this widget. More...
 
virtual QList< QToolButton * > toolButtons () const
 Returns all tool buttons on this tab. More...
 
virtual void setupForMaxWidth (int maxWidth)
 Sets up the tab for the given maximum width. More...
 
- Public Member Functions inherited from casa::PlotMSParametersWatcher
 PlotMSParametersWatcher ()
 Constructor. More...
 
virtual ~PlotMSParametersWatcher ()
 Destructor. More...
 

Protected Member Functions

PlotMSPlotParameters currentlySetParameters () const
 See PlotMSPlotTab::currentlySetParameters(). More...
 
- Protected Member Functions inherited from casa::PlotMSTab
void highlightWidgetText (QLabel *label, bool highlight)
 These alter the displayed text of Some widget types have a.title not a.text, and there's no Qt4 abstract class that encompasses all types that do have.text, so we overload highlightWidgetText for several classes. More...
 
void highlightWidgetText (QGroupBox *box, bool highlight)
 
void highlightWidgetText (QAbstractButton *but, bool highlight)
 

Protected Attributes

PlotMSPlotTabitsPlotTab_
 Plot tab. More...
 
- Protected Attributes inherited from casa::PlotMSTab
PlotMSAppitsParent_
 Parent. More...
 
PlotMSPlotteritsPlotter_
 Plotter. More...
 
QMap< QLabel *, QString > itsLabelDefaults_
 Default text for labels, so that they can be easily switched to red or normal depending on whether the item has changed or not. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::PlotMSTab
static bool setChooser (QComboBox *chooser, const QString &value)
 Static //. More...
 
static bool setChooser (QComboBox *chooser, const casacore::String &value)
 
static bool setChooser (QComboBox *chooser, const char *value)
 
- Static Protected Member Functions inherited from casa::PlotMSTab
static QString highlightifyText (const QString &text, bool highlight)
 Returns the given text altered with HTML tags for highlighting, meant to be assigned to a Qt widget's title or similar property. More...
 
static QString highlightifyText (const casacore::String &text, bool changed)
 Variation taking a casacore String. More...
 
static QString highlightifyText (const char *text, bool changed)
 Variation of highlightifyText taking plain C-style text. More...
 

Detailed Description

Subclass of PlotMSTab for tabs that are meant to be used as subtabs in a PlotMSPlotTab.

Definition at line 52 of file PlotMSPlotTab.qo.h.

Constructor & Destructor Documentation

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

Constructor which takes the parent tab and plotter.

virtual casa::PlotMSPlotSubtab::~PlotMSPlotSubtab ( )
virtual

Destructor.

Member Function Documentation

void casa::PlotMSPlotSubtab::changed ( )
signal

This signal should be emitted whenever the value of the widget changes because of user interaction.

PlotMSPlotParameters casa::PlotMSPlotSubtab::currentlySetParameters ( ) const
protected
virtual void casa::PlotMSPlotSubtab::getValue ( PlotMSPlotParameters params) const
pure virtual
virtual void casa::PlotMSPlotSubtab::parametersHaveChanged ( const PlotMSWatchedParameters params,
int  updateFlag 
)
inlinevirtual

Implements PlotMSParametersWatcher::parametersHaveChanged() to do nothing unless overridden in the child class.

Implements casa::PlotMSParametersWatcher.

Definition at line 77 of file PlotMSPlotTab.qo.h.

virtual void casa::PlotMSPlotSubtab::setValue ( const PlotMSPlotParameters params)
pure virtual
virtual void casa::PlotMSPlotSubtab::update ( const PlotMSPlot plot)
pure virtual

Updates the labels and other widgets in the subtab using the given plot to check changes against.

Implemented in casa::PlotMSIterateTab, casa::PlotMSCanvasTab, casa::PlotMSDisplayTab, casa::PlotMSAxesTab, casa::PlotMSTransformationsTab, casa::PlotMSCalibrationTab, casa::PlotMSDataTab, and casa::PlotMSCacheTab.

Member Data Documentation

PlotMSPlotTab* casa::PlotMSPlotSubtab::itsPlotTab_
protected

Plot tab.

Definition at line 89 of file PlotMSPlotTab.qo.h.


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