Window for adding a new enumeration or editing an existing one.
More...
#include <enumerationwindow.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 enumeration or editing an existing one.
◆ EnumerationWindow()
| EnumerationWindow::EnumerationWindow |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs a new window for adding a new enumeration or editing an existing one.
- Parameters
-
| parent | Optional owner widget. |
◆ getEnumerationMembers()
| QStringList EnumerationWindow::getEnumerationMembers |
( |
| ) |
const |
Gets the items of the enumeration.
- Returns
- Items of the enumeration.
◆ getEnumerationName()
| QString EnumerationWindow::getEnumerationName |
( |
| ) |
const |
Gets the name of the enumeration.
- Returns
- Name of the enumeration.
◆ getTypeSetName()
| QString EnumerationWindow::getTypeSetName |
( |
| ) |
const |
Gets the name of the set the enumeration should belong to.
- Returns
- Name of the set the enumeration should belong to.
◆ setEnumerationMembers()
| void EnumerationWindow::setEnumerationMembers |
( |
const QStringList |
enumeration | ) |
|
Sets the items of the enumeration.
- Parameters
-
| enumeration | Items of the enumeration. |
◆ setEnumerationName()
| void EnumerationWindow::setEnumerationName |
( |
const QString & |
typeName | ) |
|
Sets the name of the enumeration.
- Parameters
-
| typeName | Name of the enumeration. |
◆ setTypeSetName()
| void EnumerationWindow::setTypeSetName |
( |
const QString & |
typeSet | ) |
|
Sets the name of the set the enumeration should belong to.
- Parameters
-
| typeSet | Name of the set the enumeration should belong to. |
◆ setTypeSetNames()
| void EnumerationWindow::setTypeSetNames |
( |
const QStringList & |
typeSets | ) |
|
Sets the list of names of available custom type sets.
- Parameters
-
| typeSets | List of names of available custom type sets. |
◆ showEvent()
| void EnumerationWindow::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/Types/View/enumerationwindow.h
- Source/Tome/Features/Types/View/enumerationwindow.cpp