Gui::Dialog::ParameterBool Class Reference

The ParameterBool class allows interaction with "boolean" parameter leaves. More...

#include <DlgParameterImp.h>

Inheritance diagram for Gui::Dialog::ParameterBool:
Gui::Dialog::ParameterValueItem

List of all members.

Public Member Functions

void appendToGroup ()
 Append this item as leaf to the parameter group.
void changeValue ()
 Opens an input dialog to change the value.
 ParameterBool (QTreeWidget *parent, QString label1, bool value, const Base::Reference< ParameterGrp > &hcGrp)
 Constructor.
void removeFromGroup ()
 Remove the leaf from the parameter group.
 ~ParameterBool ()

Protected Member Functions

void replace (const QString &oldName, const QString &newName)
 Replaces the name of the leaf from oldName to newName.

Detailed Description

The ParameterBool class allows interaction with "boolean" parameter leaves.

Author:
Werner Mayer

Definition at line 319 of file DlgParameterImp.h.


Constructor & Destructor Documentation

ParameterBool::ParameterBool ( QTreeWidget *  parent,
QString  label1,
bool  value,
const Base::Reference< ParameterGrp > &  hcGrp 
)

Constructor.

Definition at line 1063 of file DlgParameterImp.cpp.

References Gui::BitmapFactory().

ParameterBool::~ParameterBool (  ) 

Definition at line 1072 of file DlgParameterImp.cpp.


Member Function Documentation

void ParameterBool::appendToGroup (  )  [virtual]

Append this item as leaf to the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1104 of file DlgParameterImp.cpp.

References Gui::Dialog::ParameterValueItem::_hcGrp.

void ParameterBool::changeValue (  )  [virtual]

Opens an input dialog to change the value.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1076 of file DlgParameterImp.cpp.

References Gui::Dialog::ParameterValueItem::_hcGrp, and RobotExample::pos.

void ParameterBool::removeFromGroup (  )  [virtual]

Remove the leaf from the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1092 of file DlgParameterImp.cpp.

References Gui::Dialog::ParameterValueItem::_hcGrp.

void ParameterBool::replace ( const QString &  oldName,
const QString &  newName 
) [protected, virtual]

Replaces the name of the leaf from oldName to newName.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1097 of file DlgParameterImp.cpp.

References Gui::Dialog::ParameterValueItem::_hcGrp.


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

Generated on Wed Nov 23 19:02:07 2011 for FreeCAD by  doxygen 1.6.1