Gui::Dialog::ParameterInt Class Reference

The ParameterInt class allows interaction with "integer" parameter leaves. More...

#include <DlgParameterImp.h>

Inheritance diagram for Gui::Dialog::ParameterInt:
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.
 ParameterInt (QTreeWidget *parent, QString label1, long value, const Base::Reference< ParameterGrp > &hcGrp)
 Constructor.
void removeFromGroup ()
 Remove the leaf from the parameter group.
 ~ParameterInt ()

Protected Member Functions

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

Detailed Description

The ParameterInt class allows interaction with "integer" parameter leaves.

Author:
Werner Mayer

Definition at line 262 of file DlgParameterImp.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 922 of file DlgParameterImp.cpp.

References Gui::BitmapFactory().

ParameterInt::~ParameterInt (  ) 

Definition at line 931 of file DlgParameterImp.cpp.


Member Function Documentation

void ParameterInt::appendToGroup (  )  [virtual]

Append this item as leaf to the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 959 of file DlgParameterImp.cpp.

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

void ParameterInt::changeValue (  )  [virtual]

Opens an input dialog to change the value.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 935 of file DlgParameterImp.cpp.

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

void ParameterInt::removeFromGroup (  )  [virtual]

Remove the leaf from the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 947 of file DlgParameterImp.cpp.

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

void ParameterInt::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 952 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