Window for editing the value of a record field.
More...
#include <fieldvaluewindow.h>
|
|
void | accept () Q_DECL_OVERRIDE |
| | Validates all data and closes this window if successful.
|
| |
|
|
void | revert () |
| | Field should be reverted to its original value.
|
| |
|
| 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 record field.
◆ FieldValueWindow()
Constructs a new window for editing the value of a record field.
- 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. |
◆ getFieldValue()
| QVariant FieldValueWindow::getFieldValue |
( |
| ) |
const |
Gets the current value of the field.
- Returns
- Current value of the field.
◆ setFieldCount()
| void FieldValueWindow::setFieldCount |
( |
const int |
fieldCount | ) |
|
Sets the number of field values that are simultaneously edited.
- Parameters
-
| fieldCount | Number of field values that are simultaneously edited. |
◆ setFieldDescription()
| void FieldValueWindow::setFieldDescription |
( |
const QString & |
description | ) |
|
Sets the textual description of the field to be shown.
- Parameters
-
| description | Textual description of the field. |
◆ setFieldDisplayName()
| void FieldValueWindow::setFieldDisplayName |
( |
const QString & |
displayName | ) |
|
Sets the display name of the field to be shown.
- Parameters
-
| displayName | Display name of the field. |
◆ setFieldType()
| void FieldValueWindow::setFieldType |
( |
const QString & |
fieldType | ) |
const |
Sets the type of the edited field.
- Parameters
-
| fieldType | Type of the edited field. |
◆ setFieldValue()
| void FieldValueWindow::setFieldValue |
( |
const QVariant & |
fieldValue | ) |
|
Sets the current value of the field.
- Parameters
-
| fieldValue | Current value of the field. |
◆ showEvent()
| void FieldValueWindow::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/fieldvaluewindow.h
- Source/Tome/Features/Fields/View/fieldvaluewindow.cpp