SMESHGUI_boolParameter Class Reference

This class represents parameter which can have value true or false.

#include <SMESHGUI_aParameter.h>

Inheritance diagram for SMESHGUI_boolParameter:

Inheritance graph

Public Types

typedef QValueList< intIntList
 This map describes what parameters must be shown when this parameter has value as key The list contains some indices of parameters (for example, order in some list) Value is integer based 0. If map is empty, it means that there is no dependencies.
typedef QMap< int, IntListShownMap
typedef bool(* VALIDATION_FUNC )(SMESHGUI_aParameter *)
enum  Type {
  INT, DOUBLE, STRING, ENUM,
  BOOL, TABLE
}

Public Member Functions

 SMESHGUI_boolParameter (const bool=false, const QString &=QString::null, const bool=false)
virtual ~SMESHGUI_boolParameter ()
boolInitValue ()
virtual Type GetType () const
virtual bool GetNewInt (int &) const
virtual bool GetNewDouble (double &) const
virtual bool GetNewText (QString &) const
virtual QWidget * CreateWidget (QWidget *) const
virtual void InitializeWidget (QWidget *) const
virtual void TakeValue (QWidget *)
virtual QString sigValueChanged () const
 Returns string representation of signal emitted when value in corrsponding widget is changed.
const ShownMapshownMap () const
ShownMapshownMap ()
bool needPreview () const
QString & Label ()

Protected Attributes

bool myInitValue
bool myValue
QString _label
bool _needPreview

Member Typedef Documentation

typedef QValueList< int > SMESHGUI_dependParameter.IntList [inherited]
 

typedef QMap< int, IntList > SMESHGUI_dependParameter.ShownMap [inherited]
 

typedef bool(* SMESHGUI_aParameter.VALIDATION_FUNC)(SMESHGUI_aParameter *) [inherited]
 


Member Enumeration Documentation

enum SMESHGUI_aParameter::Type [inherited]
 

Enumerator:
INT 
DOUBLE 
STRING 
ENUM 
BOOL 
TABLE 


Constructor & Destructor Documentation

SMESHGUI_boolParameter.SMESHGUI_boolParameter const   bool = false,
const QString &  = QString::null,
const   bool = false
 

virtual SMESHGUI_boolParameter.~SMESHGUI_boolParameter  )  [virtual]
 


Member Function Documentation

bool& SMESHGUI_boolParameter.InitValue  ) 
 

virtual Type SMESHGUI_boolParameter.GetType  )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual bool SMESHGUI_boolParameter.GetNewInt int  )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual bool SMESHGUI_boolParameter.GetNewDouble double &   )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual bool SMESHGUI_boolParameter.GetNewText QString &   )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual QWidget* SMESHGUI_boolParameter.CreateWidget QWidget *   )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual void SMESHGUI_boolParameter.InitializeWidget QWidget *   )  const [virtual]
 

Implements SMESHGUI_aParameter.

virtual void SMESHGUI_boolParameter.TakeValue QWidget *   )  [virtual]
 

Implements SMESHGUI_aParameter.

virtual QString SMESHGUI_boolParameter.sigValueChanged  )  const [virtual]
 

Reimplemented from SMESHGUI_aParameter.

const ShownMap& SMESHGUI_dependParameter.shownMap  )  const [inherited]
 

ShownMap& SMESHGUI_dependParameter.shownMap  )  [inherited]
 

bool SMESHGUI_aParameter.needPreview  )  const [inherited]
 

QString& SMESHGUI_aParameter.Label  )  [inherited]
 


Field Documentation

bool SMESHGUI_boolParameter.myInitValue [protected]
 

bool SMESHGUI_boolParameter.myValue [protected]
 

QString SMESHGUI_aParameter._label [protected, inherited]
 

bool SMESHGUI_aParameter._needPreview [protected, inherited]