22 #ifndef SGPLOTSETTINGSHANDLER_HPP
23 #define SGPLOTSETTINGSHANDLER_HPP
28 #include <QFormLayout>
30 #include <QPushButton>
33 #include "sgplotsettings.hpp"
40 SGPlotSettings::SGPlotFeature
param;
47 setCheckState(Qt::Checked);
49 setCheckState(Qt::Unchecked);
56 SGPlotSettings::SGPlotFeature _param):
63 connect(
this,SIGNAL(clicked(
bool)),
65 connect(parent,SIGNAL(restoreDefaultSignal()),
A widget for setting parameters of the algorithm.
Definition: sgplotsettingshandler.hpp:95
void closeWindow()
Closes the window by sending signal to SGSolutionHandler.
Definition: sgplotsettingshandler.hpp:116
SGPlotFeatureBox(QWidget *parent, SGPlotSettings *_plotSettings, SGPlotSettings::SGPlotFeature _param)
Constructor.
Definition: sgplotsettingshandler.hpp:54
void resetParam()
Slot called when resetting to default values.
Definition: sgplotsettingshandler.hpp:77
Definition: sgplotsettingshandler.hpp:36
void closePlotSettingsHandler()
Signals to SGSolutionHandler to delete this widget.
SGPlotSettings * plotSettings
Pointer to the associated SGEnv object.
Definition: sgplotsettingshandler.hpp:96
void changeParam()
Slot called when the check is modified.
Definition: sgplotsettingshandler.hpp:72
void restoreDefaultSignal()
Signals all of the edits and check boxes to reset to default values.
Definition: sgplotsettings.hpp:28
SGPlotSettingsHandler(QWidget *parent, SGPlotSettings *_plotSettings)
Constructor.
Definition: sgplotsettingshandler.cpp:24
virtual ~SGPlotSettingsHandler()
Destructor.
Definition: sgplotsettingshandler.hpp:107
SGPlotSettings * plotSettings
The associated environment.
Definition: sgplotsettingshandler.hpp:42
void setCheck(bool tf)
The set method.
Definition: sgplotsettingshandler.hpp:44
SGPlotSettings::SGPlotFeature param
The boolean parameter associated with the box.
Definition: sgplotsettingshandler.hpp:37
void restoreDefaults()
Definition: sgplotsettingshandler.hpp:119