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

Subclass of PlotMSTab that handles interaction with the PlotMSAnnotator. More...

#include <PlotMSAnnotatorTab.qo.h>

Inheritance diagram for casa::PlotMSAnnotatorTab:
casa::PlotMSTab casa::PlotMSParametersWatcher

Public Member Functions

 PlotMSAnnotatorTab (PlotMSPlotter *parent)
 Constructor which takes the parent plotter. More...
 
 ~PlotMSAnnotatorTab ()
 Destructor. More...
 
QString tabName () const
 Implements PlotMSTab::tabName(). More...
 
void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)
 Implements PlotMSParametersWatcher::parametersHaveChanged(). More...
 
- Public Member Functions inherited from casa::PlotMSTab
 PlotMSTab (PlotMSPlotter *parent)
 Non-Static //. More...
 
virtual ~PlotMSTab ()
 Destructor. 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...
 

Private Slots

void textPropertiesChanged ()
 Slot for when any text properties changed. More...
 
void rectanglePropertiesChanged ()
 Slot for when any rectangle properties changed. More...
 

Private Attributes

PlotMSAnnotatoritsAnnotator_
 Reference to annotator. More...
 
PlotFontWidgetitsTextFont_
 Text property widgets. More...
 
PlotLineWidgetitsTextOutline_
 
PlotFillWidgetitsTextBackground_
 
PlotLineWidgetitsRectLine_
 Rectangle property widgets. More...
 
PlotFillWidgetitsRectFill_
 

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)
 
- 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)
 
- 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 interaction with the PlotMSAnnotator.

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

Constructor & Destructor Documentation

casa::PlotMSAnnotatorTab::PlotMSAnnotatorTab ( PlotMSPlotter parent)

Constructor which takes the parent plotter.

casa::PlotMSAnnotatorTab::~PlotMSAnnotatorTab ( )

Destructor.

Member Function Documentation

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

Implements PlotMSParametersWatcher::parametersHaveChanged().

Does nothing.

Implements casa::PlotMSParametersWatcher.

Definition at line 60 of file PlotMSAnnotatorTab.qo.h.

void casa::PlotMSAnnotatorTab::rectanglePropertiesChanged ( )
privateslot

Slot for when any rectangle properties changed.

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

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

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

void casa::PlotMSAnnotatorTab::textPropertiesChanged ( )
privateslot

Slot for when any text properties changed.

Member Data Documentation

PlotMSAnnotator& casa::PlotMSAnnotatorTab::itsAnnotator_
private

Reference to annotator.

Definition at line 65 of file PlotMSAnnotatorTab.qo.h.

PlotFillWidget* casa::PlotMSAnnotatorTab::itsRectFill_
private

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

PlotLineWidget* casa::PlotMSAnnotatorTab::itsRectLine_
private

Rectangle property widgets.

Definition at line 76 of file PlotMSAnnotatorTab.qo.h.

PlotFillWidget* casa::PlotMSAnnotatorTab::itsTextBackground_
private

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

PlotFontWidget* casa::PlotMSAnnotatorTab::itsTextFont_
private

Text property widgets.

Definition at line 69 of file PlotMSAnnotatorTab.qo.h.

PlotLineWidget* casa::PlotMSAnnotatorTab::itsTextOutline_
private

Definition at line 70 of file PlotMSAnnotatorTab.qo.h.


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