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

Subclass of PlotMSPlotSubtab to manage plot display parameters. More...

#include <PlotMSIterateTab.qo.h>

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

Signals

void plottableChanged ()
 
- Signals inherited from casa::PlotMSPlotSubtab
void changed ()
 This signal should be emitted whenever the value of the widget changes because of user interaction. More...
 

Public Member Functions

 PlotMSIterateTab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent)
 Constructor which takes the parent tab and plotter. More...
 
 ~PlotMSIterateTab ()
 Destructor. More...
 
QString tabName () const
 Implements PlotMSTab::tabName(). More...
 
void getValue (PlotMSPlotParameters &params) const
 Implements PlotMSPlotSubtab::getValue(). More...
 
void setValue (const PlotMSPlotParameters &params)
 Implements PlotMSPlotSubtab::setValue(). More...
 
void update (const PlotMSPlot &plot)
 Implements PlotMSPlotSubtab::update(). More...
 
bool setGridSize (unsigned int nRows, unsigned int nCols)
 Uses the index chooser at the top, with the given number of rows and columns, to manage multi-plot display parameters. More...
 
bool isPlottable () const
 Returns true if a reasonable row and column location has been set (nonzero); false otherwise. More...
 
void clearSelectedItems ()
 Clear user-selected header items. More...
 
- Public Member Functions inherited from casa::PlotMSPlotSubtab
 PlotMSPlotSubtab (PlotMSPlotTab *plotTab, PlotMSPlotter *parent)
 Constructor which takes the parent tab and plotter. More...
 
virtual ~PlotMSPlotSubtab ()
 Destructor. 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 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 globalChanged ()
 Whether to use a single global axis has changed. More...
 
void locationChanged ()
 
void addItems ()
 Header items edition -— Add items selected in availableItemsTableView. More...
 
void removeItems ()
 -— Remove items selected in selectedItemsTableView More...
 
void headerItemsChanged ()
 
void setArrowUpNormal ()
 Icons animation. More...
 
void setArrowUpActive ()
 
void setArrowDownNormal ()
 
void setArrowDownActive ()
 

Private Member Functions

void hideGridLocation (bool hide)
 
void setGridIndices (int rowIndex, int colIndex)
 
void setHeaderItems (const PMS_PP_PageHeader *pageHeaderParamsGroup)
 
void setAvailable (PageHeaderItemsDef::Item item, bool isAvailable)
 
void setButtonIcon (QPushButton *button, Bool isActive)
 

Private Attributes

int gridRow
 Location of the plot. More...
 
int gridCol
 
PageHeaderItems headerItems
 Page header items. More...
 
QIcon arrowUpIcon
 Animated buttons. More...
 
QIcon arrowDownIcon
 

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::PlotMSPlotSubtab
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)
 
- 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::PlotMSPlotSubtab
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...
 

Detailed Description

Subclass of PlotMSPlotSubtab to manage plot display parameters.

Definition at line 46 of file PlotMSIterateTab.qo.h.

Constructor & Destructor Documentation

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

Constructor which takes the parent tab and plotter.

casa::PlotMSIterateTab::~PlotMSIterateTab ( )

Destructor.

Member Function Documentation

void casa::PlotMSIterateTab::addItems ( )
privateslot

Header items edition -— Add items selected in availableItemsTableView.

void casa::PlotMSIterateTab::clearSelectedItems ( )

Clear user-selected header items.

void casa::PlotMSIterateTab::getValue ( PlotMSPlotParameters params) const
virtual
void casa::PlotMSIterateTab::globalChanged ( )
privateslot

Whether to use a single global axis has changed.

void casa::PlotMSIterateTab::headerItemsChanged ( )
privateslot
void casa::PlotMSIterateTab::hideGridLocation ( bool  hide)
private
bool casa::PlotMSIterateTab::isPlottable ( ) const

Returns true if a reasonable row and column location has been set (nonzero); false otherwise.

void casa::PlotMSIterateTab::locationChanged ( )
privateslot
void casa::PlotMSIterateTab::plottableChanged ( )
signal
void casa::PlotMSIterateTab::removeItems ( )
privateslot

-— Remove items selected in selectedItemsTableView

void casa::PlotMSIterateTab::setArrowDownActive ( )
privateslot
void casa::PlotMSIterateTab::setArrowDownNormal ( )
privateslot
void casa::PlotMSIterateTab::setArrowUpActive ( )
privateslot
void casa::PlotMSIterateTab::setArrowUpNormal ( )
privateslot

Icons animation.

void casa::PlotMSIterateTab::setAvailable ( PageHeaderItemsDef::Item  item,
bool  isAvailable 
)
private
void casa::PlotMSIterateTab::setButtonIcon ( QPushButton *  button,
Bool  isActive 
)
private
void casa::PlotMSIterateTab::setGridIndices ( int  rowIndex,
int  colIndex 
)
private
bool casa::PlotMSIterateTab::setGridSize ( unsigned int  nRows,
unsigned int  nCols 
)

Uses the index chooser at the top, with the given number of rows and columns, to manage multi-plot display parameters.

void casa::PlotMSIterateTab::setHeaderItems ( const PMS_PP_PageHeader pageHeaderParamsGroup)
private
void casa::PlotMSIterateTab::setValue ( const PlotMSPlotParameters params)
virtual
QString casa::PlotMSIterateTab::tabName ( ) const
inlinevirtual

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

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

void casa::PlotMSIterateTab::update ( const PlotMSPlot plot)
virtual

Member Data Documentation

QIcon casa::PlotMSIterateTab::arrowDownIcon
private

Definition at line 117 of file PlotMSIterateTab.qo.h.

QIcon casa::PlotMSIterateTab::arrowUpIcon
private

Animated buttons.

Definition at line 116 of file PlotMSIterateTab.qo.h.

int casa::PlotMSIterateTab::gridCol
private

Definition at line 110 of file PlotMSIterateTab.qo.h.

int casa::PlotMSIterateTab::gridRow
private

Location of the plot.

Definition at line 109 of file PlotMSIterateTab.qo.h.

PageHeaderItems casa::PlotMSIterateTab::headerItems
private

Page header items.

Definition at line 113 of file PlotMSIterateTab.qo.h.


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