casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Attributes
casa::PlotMSOptionsTab Class Reference

Subclass of PlotMSTab that handles options for PlotMSPlotter. More...

#include <PlotMSOptionsTab.qo.h>

Inheritance diagram for casa::PlotMSOptionsTab:
casa::PlotMSTab casa::PlotMSParametersWatcher

List of all members.

Public Member Functions

 PlotMSOptionsTab (PlotMSPlotter *parent)
 Constructor which takes the parent plotter.
 ~PlotMSOptionsTab ()
 Destructor.
QString tabName () const
 Implements PlotMSTab::tabName().
void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)
 Implements PlotMSParametersWatcher::parametersHaveChanged().
void setupForMaxWidth (int maxWidth)
 Overrides PlotMSTab::setupForMaxWidth().

Private Slots

void toolButtonStyleChanged (int newIndex)
 When the user changes the tool button style on the GUI.
void logChanged ()
 When the user changes the log events or priority on the GUI.
void clearSelectionChanged (bool value)
 When the user changes the "clear selection" on the GUI.
void cachedImageSizeChanged ()
 When the user changes the cached image size.
void cachedImageSizeScreenResolution ()
 When the user sets the cached image size to screen resolution.
void historyLimitChanged ()
 When the user changes the file chooser history limit.

Private Attributes

PlotMSParametersitsParameters_
 Watched parameters for PlotMS.
bool itsChangeFlag_
 Flag for changing the parameters.
PlotMSLoggerWidgetitsLoggerWidget_
 Logger widget.

Detailed Description

Subclass of PlotMSTab that handles options for PlotMSPlotter.

Watches PlotMS's PlotMSParameters for changes to update the GUI as needed.

Definition at line 45 of file PlotMSOptionsTab.qo.h.


Constructor & Destructor Documentation

Constructor which takes the parent plotter.

Destructor.


Member Function Documentation

When the user changes the cached image size.

When the user sets the cached image size to screen resolution.

void casa::PlotMSOptionsTab::clearSelectionChanged ( bool  value) [private, slot]

When the user changes the "clear selection" on the GUI.

When the user changes the file chooser history limit.

void casa::PlotMSOptionsTab::logChanged ( ) [private, slot]

When the user changes the log events or priority on the GUI.

void casa::PlotMSOptionsTab::parametersHaveChanged ( const PlotMSWatchedParameters params,
int  updateFlag 
) [virtual]

Implements PlotMSParametersWatcher::parametersHaveChanged().

Updates the GUI as needed if the given parameters are the PlotMS parent's parameters.

Implements casa::PlotMSParametersWatcher.

void casa::PlotMSOptionsTab::setupForMaxWidth ( int  maxWidth) [virtual]

Overrides PlotMSTab::setupForMaxWidth().

MUST be called before being used, as it sets up the logging widget with it.

Reimplemented from casa::PlotMSTab.

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

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

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

void casa::PlotMSOptionsTab::toolButtonStyleChanged ( int  newIndex) [private, slot]

When the user changes the tool button style on the GUI.


Member Data Documentation

Flag for changing the parameters.

Definition at line 74 of file PlotMSOptionsTab.qo.h.

Logger widget.

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

Watched parameters for PlotMS.

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


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