Subclass of PlotMSTab that handles options for PlotMSPlotter. More...
#include <PlotMSOptionsTab.qo.h>
Public Member Functions | |
PlotMSOptionsTab (PlotMSPlotter *parent) | |
Constructor which takes the parent plotter. | |
~PlotMSOptionsTab () | |
Destructor. | |
QString | tabName () const |
Implements PlotMSTab::tabName(). | |
void | parametersHaveChanged (const PlotMSWatchedParameters ¶ms, 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. | |
void | gridChanged () |
When the grid size changes. | |
Private Attributes | |
PlotMSParameters & | itsParameters_ |
Watched parameters for PlotMS. | |
bool | itsChangeFlag_ |
Flag for changing the parameters. | |
PlotMSLoggerWidget * | itsLoggerWidget_ |
Logger widget. |
Subclass of PlotMSTab that handles options for PlotMSPlotter.
Watches PlotMS's PlotMSParameters for changes to update the GUI as needed.
Definition at line 43 of file PlotMSOptionsTab.qo.h.
casa::PlotMSOptionsTab::PlotMSOptionsTab | ( | PlotMSPlotter * | parent | ) |
Constructor which takes the parent plotter.
casa::PlotMSOptionsTab::~PlotMSOptionsTab | ( | ) |
Destructor.
void casa::PlotMSOptionsTab::cachedImageSizeChanged | ( | ) | [private, slot] |
When the user changes the cached image size.
void casa::PlotMSOptionsTab::cachedImageSizeScreenResolution | ( | ) | [private, slot] |
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.
void casa::PlotMSOptionsTab::gridChanged | ( | ) | [private, slot] |
When the grid size changes.
void casa::PlotMSOptionsTab::historyLimitChanged | ( | ) | [private, slot] |
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 55 of file PlotMSOptionsTab.qo.h.
void casa::PlotMSOptionsTab::toolButtonStyleChanged | ( | int | newIndex | ) | [private, slot] |
When the user changes the tool button style on the GUI.
bool casa::PlotMSOptionsTab::itsChangeFlag_ [private] |
Flag for changing the parameters.
Definition at line 72 of file PlotMSOptionsTab.qo.h.
Logger widget.
Definition at line 75 of file PlotMSOptionsTab.qo.h.
Watched parameters for PlotMS.
Definition at line 69 of file PlotMSOptionsTab.qo.h.