The ParameterBool class allows interaction with "boolean" parameter leaves. More...
#include <DlgParameterImp.h>
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. |
The ParameterBool class allows interaction with "boolean" parameter leaves.
Definition at line 319 of file DlgParameterImp.h.
ParameterBool::ParameterBool | ( | QTreeWidget * | parent, | |
QString | label1, | |||
bool | value, | |||
const Base::Reference< ParameterGrp > & | hcGrp | |||
) |
ParameterBool::~ParameterBool | ( | ) |
Definition at line 1072 of file DlgParameterImp.cpp.
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.