The ParameterGroup class represents the tree structure of the parameters. More...
#include <DlgParameterImp.h>
Public Member Functions | |
ParameterGroup (QWidget *parent=0) | |
virtual | ~ParameterGroup () |
Protected Slots | |
void | onCreateSubgroup () |
Creates a sub-group to the current selected parameter group. More... | |
void | onDeleteSelectedItem () |
Removes the underlying parameter group and its sub-groups from the parameter tree structure. More... | |
void | onExportToFile () |
Exports the current selected parameter with all sub-groups to a file. More... | |
void | onImportFromFile () |
Imports a file and inserts the parameter to the current selected parameter node. More... | |
void | onRenameSelectedItem () |
Changes the name of the leaf of the selected item. More... | |
void | onToggleSelectedItem () |
Expands or closes the selected item. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | contextMenuEvent (QContextMenuEvent *event) |
Shows the context menu. More... | |
void | keyPressEvent (QKeyEvent *event) |
Triggers the "Del" key. More... | |
Detailed Description
The ParameterGroup class represents the tree structure of the parameters.
The leaves represented by ParameterValueItem are displayed in ParameterValue.
Constructor & Destructor Documentation
◆ ParameterGroup()
ParameterGroup::ParameterGroup | ( | QWidget * | parent = 0 | ) |
◆ ~ParameterGroup()
|
virtual |
Member Function Documentation
◆ changeEvent()
|
protected |
◆ contextMenuEvent()
|
protected |
Shows the context menu.
◆ keyPressEvent()
|
protected |
Triggers the "Del" key.
References onDeleteSelectedItem().
◆ onCreateSubgroup
|
protectedslot |
Creates a sub-group to the current selected parameter group.
References ParameterGrp::GetGroup(), ParameterGrp::HasGroup(), and Gui::validateInput().
Referenced by ParameterGroup().
◆ onDeleteSelectedItem
|
protectedslot |
Removes the underlying parameter group and its sub-groups from the parameter tree structure.
Referenced by keyPressEvent(), and ParameterGroup().
◆ onExportToFile
|
protectedslot |
Exports the current selected parameter with all sub-groups to a file.
References ParameterGrp::exportTo(), and Gui::FileDialog::getSaveFileName().
Referenced by ParameterGroup().
◆ onImportFromFile
|
protectedslot |
Imports a file and inserts the parameter to the current selected parameter node.
References ParameterGrp::GetGroups(), Gui::FileDialog::getOpenFileName(), and ParameterGrp::importFrom().
Referenced by ParameterGroup().
◆ onRenameSelectedItem
|
protectedslot |
Changes the name of the leaf of the selected item.
Referenced by ParameterGroup().
◆ onToggleSelectedItem
|
protectedslot |
Expands or closes the selected item.
If it is open it will be closed and the other way round.
Referenced by ParameterGroup().
The documentation for this class was generated from the following files:
- src/Gui/DlgParameterImp.h
- src/Gui/DlgParameterImp.cpp