Window for editing the a single key-value pair of the map.
More...
#include <mapitemwindow.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 editing the a single key-value pair of the map.
◆ MapItemWindow()
Constructs a new window for editing the a single key-value pair of the map.
- Parameters
-
| facetsController | Controller for validating type facets. |
| projectController | Controller for creating, loading and saving projects. |
| recordsController | Controller for adding, updating and removing records. |
| typesController | Controller for adding, updating and removing custom types. |
| parent | Optional owner widget. |
◆ getKey()
| QVariant MapItemWindow::getKey |
( |
| ) |
const |
Gets the current key of the key-value pair.
- Returns
- Current key of the key-value pair.
◆ getValue()
| QVariant MapItemWindow::getValue |
( |
| ) |
const |
Gets the current value of the key-value pair.
- Returns
- Current value of the key-value pair.
◆ setKey()
| void MapItemWindow::setKey |
( |
const QVariant & |
key | ) |
|
Sets the current key of the key-value pair.
- Parameters
-
| key | Current key of the key-value pair. |
◆ setKeyType()
| void MapItemWindow::setKeyType |
( |
const QString & |
keyType | ) |
const |
Sets the type of the keys of the map.
- Parameters
-
| keyType | Type of the keys of the map. |
◆ setValue()
| void MapItemWindow::setValue |
( |
const QVariant & |
value | ) |
|
Sets the current value of the key-value pair.
- Parameters
-
| value | Current value of the key-value pair. |
◆ setValueType()
| void MapItemWindow::setValueType |
( |
const QString & |
valueType | ) |
const |
Sets the type of the values of the map.
- Parameters
-
| valueType | Type of the values of the map. |
◆ showEvent()
| void MapItemWindow::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/Fields/View/mapitemwindow.h
- Source/Tome/Features/Fields/View/mapitemwindow.cpp