Gui::Dialog::ParameterText Class Reference

The ParameterText class allows interaction with "text" parameter leaves. More...

#include <DlgParameterImp.h>

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

Protected Member Functions

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

Detailed Description

The ParameterText class allows interaction with "text" parameter leaves.

Author:
Werner Mayer

Definition at line 243 of file DlgParameterImp.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 878 of file DlgParameterImp.cpp.

References Gui::BitmapFactory().

ParameterText::~ParameterText (  ) 

Definition at line 887 of file DlgParameterImp.cpp.


Member Function Documentation

void ParameterText::appendToGroup (  )  [virtual]

Append this item as leaf to the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 915 of file DlgParameterImp.cpp.

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

void ParameterText::changeValue (  )  [virtual]

Opens an input dialog to change the value.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 891 of file DlgParameterImp.cpp.

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

void ParameterText::removeFromGroup (  )  [virtual]

Remove the leaf from the parameter group.

Implements Gui::Dialog::ParameterValueItem.

Definition at line 903 of file DlgParameterImp.cpp.

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

void ParameterText::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 908 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