Window for adding a new derived type or editing an existing one.
More...
#include <derivedtypewindow.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 derived type or editing an existing one.
◆ DerivedTypeWindow()
Constructs a new window for adding a new derived type or editing an existing one.
- Parameters
-
| typesController | Controller for adding, updating and removing custom types. |
| facetsController | Controller for validating type facets. |
| recordsController | Controller for adding, updating and removing records. |
| parent | Optional owner widget. |
◆ getBaseType()
| QString DerivedTypeWindow::getBaseType |
( |
| ) |
const |
Gets the name of the type the type is derived from.
- Returns
- Name of the type the type is derived from.
◆ getFacets()
| QVariantMap DerivedTypeWindow::getFacets |
( |
| ) |
const |
Gets the values of all constraining facets of the type.
- Returns
- Values of all constraining facets of the type.
◆ getTypeName()
| QString DerivedTypeWindow::getTypeName |
( |
| ) |
const |
Gets the name of the type.
- Returns
- Name of the type.
◆ getTypeSetName()
| QString DerivedTypeWindow::getTypeSetName |
( |
| ) |
const |
Gets the name of the set the custom type should belong to.
- Returns
- Name of the set the custom type should belong to.
◆ setBaseType()
| void DerivedTypeWindow::setBaseType |
( |
const QString & |
baseType | ) |
const |
Sets the name of the type the type is derived from.
- Parameters
-
| baseType | Name of the type the type is derived from. |
◆ setFacets()
| void DerivedTypeWindow::setFacets |
( |
const QVariantMap & |
facets | ) |
|
Sets the values of all constraining facets of the type.
- Parameters
-
| facets | Values of all constraining facets of the type. |
◆ setTypeName()
| void DerivedTypeWindow::setTypeName |
( |
const QString & |
typeName | ) |
|
Sets the name of the type.
- Parameters
-
| typeName | Name of the type. |
◆ setTypeSetName()
| void DerivedTypeWindow::setTypeSetName |
( |
const QString & |
typeSetName | ) |
|
Sets the name of the set the custom type should belong to.
- Parameters
-
| typeSetName | Name of the set the custom type should belong to. |
◆ setTypeSetNames()
| void DerivedTypeWindow::setTypeSetNames |
( |
const QStringList & |
typeSetNames | ) |
|
Sets the list of names of available custom type sets.
- Parameters
-
| typeSetNames | List of names of available custom type sets. |
◆ showEvent()
| void DerivedTypeWindow::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/derivedtypewindow.h
- Source/Tome/Features/Types/View/derivedtypewindow.cpp