Gui::Dialog::DlgParameterImp Class Reference

The DlgParameterImp class implements a dialog showing all parameters in a list view. More...

#include <DlgParameterImp.h>

Inheritance diagram for Gui::Dialog::DlgParameterImp:
Gui::Dialog::Ui_DlgParameter

List of all members.

Public Member Functions

void accept ()
 DlgParameterImp (QWidget *parent=0, Qt::WFlags fl=0)
 Constructs a DlgParameterImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
void reject ()
 ~DlgParameterImp ()
 Destroys the object and frees any allocated resources.

Protected Slots

void on_buttonSaveToDisk_clicked ()
void on_closeButton_clicked ()
void onChangeParameterSet (int)
 Switches the type of parameters either to user or system parameters.
void onGroupSelected (QTreeWidgetItem *)

Protected Member Functions

void changeEvent (QEvent *e)
 Sets the strings of the subwidgets using the current language.
void closeEvent (QCloseEvent *)
void showEvent (QShowEvent *)

Protected Attributes

QTreeWidget * paramGroup
QTreeWidget * paramValue

Detailed Description

The DlgParameterImp class implements a dialog showing all parameters in a list view.

Author:
Jürgen Riegel

Definition at line 40 of file DlgParameterImp.h.


Constructor & Destructor Documentation

DlgParameterImp::DlgParameterImp ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructs a DlgParameterImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.

The dialog will by default be modeless, unless you set 'modal' to TRUE to construct a modal dialog.

Definition at line 59 of file DlgParameterImp.cpp.

References draftlibs::fcgeo::connect(), App::GetApplication(), App::Application::GetParameterSetList(), onChangeParameterSet(), onGroupSelected(), Gui::Dialog::Ui_DlgParameter::parameterSet, paramGroup, paramValue, Gui::Dialog::Ui_DlgParameter::setupUi(), and Gui::Dialog::Ui_DlgParameter::splitter3.

DlgParameterImp::~DlgParameterImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 105 of file DlgParameterImp.cpp.


Member Function Documentation

void DlgParameterImp::accept (  ) 

Definition at line 132 of file DlgParameterImp.cpp.

void DlgParameterImp::changeEvent ( QEvent *  e  )  [protected]

Sets the strings of the subwidgets using the current language.

Definition at line 114 of file DlgParameterImp.cpp.

References paramGroup, paramValue, and Gui::Dialog::Ui_DlgParameter::retranslateUi().

void DlgParameterImp::closeEvent ( QCloseEvent *   )  [protected]
void DlgParameterImp::on_buttonSaveToDisk_clicked (  )  [protected, slot]
void DlgParameterImp::on_closeButton_clicked (  )  [protected, slot]

Definition at line 127 of file DlgParameterImp.cpp.

void DlgParameterImp::onChangeParameterSet ( int  index  )  [protected, slot]
void DlgParameterImp::onGroupSelected ( QTreeWidgetItem *  item  )  [protected, slot]

Definition at line 188 of file DlgParameterImp.cpp.

References paramValue.

Referenced by DlgParameterImp().

void DlgParameterImp::reject (  ) 

Definition at line 137 of file DlgParameterImp.cpp.

void DlgParameterImp::showEvent ( QShowEvent *   )  [protected]

Member Data Documentation

QTreeWidget* Gui::Dialog::DlgParameterImp::paramGroup [protected]

Definition at line 64 of file DlgParameterImp.h.

Referenced by changeEvent(), closeEvent(), DlgParameterImp(), and onChangeParameterSet().

QTreeWidget* Gui::Dialog::DlgParameterImp::paramValue [protected]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:06 2011 for FreeCAD by  doxygen 1.6.1