The ParameterUInt class allows interaction with "unsigned integer" 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. | |
ParameterUInt (QTreeWidget *parent, QString label1, unsigned long value, const Base::Reference< ParameterGrp > &hcGrp) | |
Constructor. | |
void | removeFromGroup () |
Remove the leaf from the parameter group. | |
~ParameterUInt () | |
Protected Member Functions | |
void | replace (const QString &oldName, const QString &newName) |
Replaces the name of the leaf from oldName to newName. |
The ParameterUInt class allows interaction with "unsigned integer" parameter leaves.
Definition at line 281 of file DlgParameterImp.h.
ParameterUInt::ParameterUInt | ( | QTreeWidget * | parent, | |
QString | label1, | |||
unsigned long | value, | |||
const Base::Reference< ParameterGrp > & | hcGrp | |||
) |
ParameterUInt::~ParameterUInt | ( | ) |
Definition at line 975 of file DlgParameterImp.cpp.
void ParameterUInt::appendToGroup | ( | ) | [virtual] |
Append this item as leaf to the parameter group.
Implements Gui::Dialog::ParameterValueItem.
Definition at line 1012 of file DlgParameterImp.cpp.
References Gui::Dialog::ParameterValueItem::_hcGrp.
void ParameterUInt::changeValue | ( | ) | [virtual] |
Opens an input dialog to change the value.
Implements Gui::Dialog::ParameterValueItem.
Definition at line 979 of file DlgParameterImp.cpp.
References Gui::Dialog::ParameterValueItem::_hcGrp, Gui::Dialog::DlgInputDialogImp::getUIntBox(), Gui::UIntSpinBox::setRange(), Gui::UIntSpinBox::setValue(), Gui::Dialog::DlgInputDialogImp::UIntBox, and Py::value().
void ParameterUInt::removeFromGroup | ( | ) | [virtual] |
Remove the leaf from the parameter group.
Implements Gui::Dialog::ParameterValueItem.
Definition at line 1000 of file DlgParameterImp.cpp.
References Gui::Dialog::ParameterValueItem::_hcGrp.
void ParameterUInt::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 1005 of file DlgParameterImp.cpp.
References Gui::Dialog::ParameterValueItem::_hcGrp.