Window for adding a new component.
More...
#include <componentwindow.h>
|
|
void | accept () Q_DECL_OVERRIDE |
| | Validates all data and closes this window if successful.
|
| |
|
| virtual void | showEvent (QShowEvent *event) Q_DECL_OVERRIDE |
| | Sets up this window, e.g. by setting the focus on the first widget. More...
|
| |
Window for adding a new component.
◆ ComponentWindow()
| ComponentWindow::ComponentWindow |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs a new window for adding a new component.
- Parameters
-
| parent | Optional owner widget. |
◆ getComponentName()
| QString ComponentWindow::getComponentName |
( |
| ) |
const |
Gets the name of the component to add.
- Returns
- Name of the component to add.
◆ getComponentSetName()
| QString ComponentWindow::getComponentSetName |
( |
| ) |
const |
Gets the name of the component set to add the new component to.
- Returns
- Name of the component set to add the new component to.
◆ setComponentSetName()
| void ComponentWindow::setComponentSetName |
( |
const QString & |
componentSetName | ) |
|
Pre-selects a component set to add the new component to.
- Parameters
-
| componentSetName | Component set to add the new component to. |
◆ setComponentSetNames()
| void ComponentWindow::setComponentSetNames |
( |
const QStringList & |
componentSetNames | ) |
|
Sets the list of available component set names.
- Parameters
-
| componentSetNames | List of available component set names. |
◆ setDisallowedComponentIds()
| void ComponentWindow::setDisallowedComponentIds |
( |
const QStringList |
disallowedComponentIds | ) |
|
Sets the list of component names that are already taken and thus forbidden.
- Parameters
-
| disallowedComponentIds | List of component names that are forbidden. |
◆ showEvent()
| void ComponentWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protectedvirtual |
Sets up this window, e.g. by setting the focus on the first widget.
- Parameters
-
| event | Event for showing this window. |
The documentation for this class was generated from the following files:
- Source/Tome/Features/Components/View/componentwindow.h
- Source/Tome/Features/Components/View/componentwindow.cpp