SGSolve
SGDblParamEdit Class Reference

Class for changing double parameters. More...

#include <sgsettingshandler.hpp>

Inheritance diagram for SGDblParamEdit:
Collaboration diagram for SGDblParamEdit:

Public Member Functions

 SGDblParamEdit (QWidget *parent, SGEnv *_env, SG::DBL_PARAM _param)
 Constructor.
 

Private Slots

void changeParam (const QString &text)
 Slot called when the QLineEdit is edited.
 
void resetParam ()
 Slot called when resetting to default values.
 

Private Attributes

SG::DBL_PARAM param
 The double parameter associated with this edit.
 
SGEnvenv
 The associated SGEnv object.
 

Detailed Description

Class for changing double parameters.

A customized version of QLineEdit for modifying double parameters in an SGEnv object that is used by the SGSettingsHandler. It has a private members which are the particular SG::DBL_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: