Gui::Dialog::ParameterFloat Class Reference

The ParameterFloat class allows interaction with "float" parameter leaves. More...

#include <DlgParameterImp.h>

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

Protected Member Functions

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

Detailed Description

The ParameterFloat class allows interaction with "float" parameter leaves.

Author:
Werner Mayer

Definition at line 300 of file DlgParameterImp.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 1019 of file DlgParameterImp.cpp.

References Gui::BitmapFactory().

ParameterFloat::~ParameterFloat (  ) 

Definition at line 1028 of file DlgParameterImp.cpp.


Member Function Documentation

void ParameterFloat::appendToGroup (  )  [virtual]

Append this item as leaf to the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1056 of file DlgParameterImp.cpp.

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

void ParameterFloat::changeValue (  )  [virtual]

Opens an input dialog to change the value.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1032 of file DlgParameterImp.cpp.

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

void ParameterFloat::removeFromGroup (  )  [virtual]

Remove the leaf from the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 1044 of file DlgParameterImp.cpp.

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

void ParameterFloat::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 1049 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