SGSolve
SGBoolParamBox Class Reference

Class for changing boolean parameters. More...

#include <sgsettingshandler.hpp>

Inheritance diagram for SGBoolParamBox:
Collaboration diagram for SGBoolParamBox:

Public Member Functions

 SGBoolParamBox (QWidget *parent, SGEnv *_env, SG::BOOL_PARAM _param)
 Constructor.
 

Private Slots

void changeParam ()
 Slot called when the check is modified.
 
void resetParam ()
 Slot called when resetting to default values.
 

Private Member Functions

void setCheck (bool tf)
 The set method.
 

Private Attributes

SG::BOOL_PARAM param
 The boolean parameter associated with the box.
 
SGEnvenv
 The associated environment.
 

Detailed Description

Class for changing boolean parameters.

A customized version of QCheckBox for modifying boolean parameters in an SGEnv object that is used by the SGSettingsHandler. It has a private members which are the particular SG::BOOL_PARAM that is associated with this edit and a pointer to an associated SGEnv object. There are also mutator methods for setting the parameter value and resetting to the default value of the given parameter.


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