Window for adding a new map type or editing an existing one.
More...
#include <mapwindow.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 map type or editing an existing one.
◆ MapWindow()
Constructs a new window for adding a new map type or editing an existing one.
- Parameters
-
| typesController | Controller for adding, updating and removing custom types. |
| parent | Optional owner widget. |
◆ getMapKeyType()
| QString MapWindow::getMapKeyType |
( |
| ) |
const |
Gets the type of the keys of the map.
- Returns
- Type of the keys of the map.
◆ getMapName()
| QString MapWindow::getMapName |
( |
| ) |
const |
Gets the name of the map type.
- Returns
- Name of the map type.
◆ getMapValueType()
| QString MapWindow::getMapValueType |
( |
| ) |
const |
Gets the type of the values of the map.
- Returns
- Type of the values of the map.
◆ getTypeSetName()
| QString MapWindow::getTypeSetName |
( |
| ) |
const |
Gets the name of the set the map type should belong to.
- Returns
- Name of the set the map type should belong to.
◆ setMapKeyType()
| void MapWindow::setMapKeyType |
( |
const QString & |
keyType | ) |
|
Sets the type of the keys of the map.
- Parameters
-
| keyType | Type of the keys of the map. |
◆ setMapName()
| void MapWindow::setMapName |
( |
const QString & |
mapName | ) |
|
Sets the name of the map type.
- Parameters
-
| mapName | Name of the map type. |
◆ setMapValueType()
| void MapWindow::setMapValueType |
( |
const QString & |
valueType | ) |
|
Sets the type of the values of the map.
- Parameters
-
| valueType | Type of the values of the map. |
◆ setTypeSetName()
| void MapWindow::setTypeSetName |
( |
const QString & |
typeSetName | ) |
|
Sets the name of the set the map type should belong to.
- Parameters
-
| typeSetName | Name of the set the map type should belong to. |
◆ setTypeSetNames()
| void MapWindow::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 MapWindow::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/mapwindow.h
- Source/Tome/Features/Types/View/mapwindow.cpp