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

Subclass of PlotMSTab that handles the tools for the current plot. More...

#include <PlotMSToolsTab.qo.h>

Inheritance diagram for casa::PlotMSToolsTab:
casa::PlotMSTab casa::PlotTrackerToolNotifier casa::PlotMSParametersWatcher

Public Slots

void toolsUnchecked ()
 Slot for when all tools are turned off, and the "None" radio button should be checked. More...
 
void takeSnapshotOfTrackerValue ()
 Tracker "snapshot" feature. More...
 
void clearRecordedValues ()
 Erase contents of the text box holding recorded tracker values. More...
 

Public Member Functions

 PlotMSToolsTab (PlotMSPlotter *parent)
 Constructor which takes the parent plotter, and the QtActionGroup to use to synchronize tool actions with the radio buttons on the tab. More...
 
 ~PlotMSToolsTab ()
 Destructor. More...
 
QString tabName () const
 Implements PlotMSTab::tabName(). More...
 
QList< QToolButton * > toolButtons () const
 Overrides PlotMSTab::toolButtons(). More...
 
void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)
 Implements PlotMSParametersWatcher::parametersHaveChanged. More...
 
void showIterationButtons (bool show)
 Show/hide the iteration buttons on this tab. More...
 
- Public Member Functions inherited from casa::PlotMSTab
 PlotMSTab (PlotMSPlotter *parent)
 Non-Static //. More...
 
virtual ~PlotMSTab ()
 Destructor. 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...
 
- Public Member Functions inherited from casa::PlotTrackerToolNotifier
 PlotTrackerToolNotifier ()
 
virtual ~PlotTrackerToolNotifier ()
 

Public Attributes

TrackerKeyHandlertracker_key_handler
 

Protected Member Functions

void notifyTrackerChanged (PlotTrackerTool &tool)
 Implements PlotTrackerToolNotifier::notifyTrackerChanged(). 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)
 

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...
 
- 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...
 

Detailed Description

Subclass of PlotMSTab that handles the tools for the current plot.

Watches no parameters.

Definition at line 57 of file PlotMSToolsTab.qo.h.

Constructor & Destructor Documentation

casa::PlotMSToolsTab::PlotMSToolsTab ( PlotMSPlotter parent)

Constructor which takes the parent plotter, and the QtActionGroup to use to synchronize tool actions with the radio buttons on the tab.

casa::PlotMSToolsTab::~PlotMSToolsTab ( )

Destructor.

Member Function Documentation

void casa::PlotMSToolsTab::clearRecordedValues ( )
slot

Erase contents of the text box holding recorded tracker values.

void casa::PlotMSToolsTab::notifyTrackerChanged ( PlotTrackerTool tool)
protectedvirtual

Implements PlotTrackerToolNotifier::notifyTrackerChanged().

Updates the tracker information in the line edit, if the proper checkbox is toggled.

Implements casa::PlotTrackerToolNotifier.

void casa::PlotMSToolsTab::parametersHaveChanged ( const PlotMSWatchedParameters params,
int  updateFlag 
)
inlinevirtual

Implements PlotMSParametersWatcher::parametersHaveChanged.

Currently does nothing.

Implements casa::PlotMSParametersWatcher.

Definition at line 78 of file PlotMSToolsTab.qo.h.

void casa::PlotMSToolsTab::showIterationButtons ( bool  show)

Show/hide the iteration buttons on this tab.

QString casa::PlotMSToolsTab::tabName ( ) const
inlinevirtual

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

Definition at line 71 of file PlotMSToolsTab.qo.h.

void casa::PlotMSToolsTab::takeSnapshotOfTrackerValue ( )
slot

Tracker "snapshot" feature.

Copies value in live display into multi-line text box for user to copy/paste. Made a slot in case it's useful to connect to a signal, but for the initial version, this is not done.

QList<QToolButton*> casa::PlotMSToolsTab::toolButtons ( ) const
virtual

Overrides PlotMSTab::toolButtons().

Reimplemented from casa::PlotMSTab.

void casa::PlotMSToolsTab::toolsUnchecked ( )
slot

Slot for when all tools are turned off, and the "None" radio button should be checked.

Member Data Documentation

TrackerKeyHandler* casa::PlotMSToolsTab::tracker_key_handler

Definition at line 108 of file PlotMSToolsTab.qo.h.


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