Window for editing the value of a single list item.
More...
#include <listitemwindow.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 value of a single list item.
◆ ListItemWindow()
Constructs a new window for editing the value of a single list item.
- 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. |
◆ getValue()
| QVariant ListItemWindow::getValue |
( |
| ) |
const |
Gets the current value of the list item.
- Returns
- Current value of the list item.
◆ setFieldType()
| void ListItemWindow::setFieldType |
( |
const QString & |
fieldType | ) |
const |
Sets the type of the list item.
- Parameters
-
| fieldType | Type of the list item. |
◆ setValue()
| void ListItemWindow::setValue |
( |
const QVariant & |
value | ) |
|
Sets the current value of the list item.
- Parameters
-
| value | Current value of the list item. |
◆ showEvent()
| void ListItemWindow::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/listitemwindow.h
- Source/Tome/Features/Fields/View/listitemwindow.cpp