SGSolve
All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
SGIntParamEdit Class Reference

Class for changing integer parameters. More...

#include <sgsettingshandler.hpp>

Inheritance diagram for SGIntParamEdit:
Collaboration diagram for SGIntParamEdit:

Public Member Functions

 SGIntParamEdit (QWidget *parent, SGEnv *_env, SG::INT_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::INT_PARAM param
 The int parameter associated with this edit.
 
SGEnvenv
 The associated SGEnv object.
 

Detailed Description

Class for changing integer parameters.

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