Allows editing the values of all fields of a record.
More...
#include <recordfieldstablewidget.h>
Allows editing the values of all fields of a record.
◆ RecordFieldsTableWidget()
Constructs a new widget for editing the values of all fields of a record.
- Parameters
-
| fieldDefinitionsController | Controller for adding, updating and removing field definitions. |
| 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. |
◆ fileLinkActivated
| void Tome::RecordFieldsTableWidget::fileLinkActivated |
( |
const QString & |
filePath | ) |
|
|
signal |
A link to a file on disk has been activated.
- Parameters
-
| filePath | Path to the selected file on disk. |
◆ recordLinkActivated
| void Tome::RecordFieldsTableWidget::recordLinkActivated |
( |
const QString & |
recordId | ) |
|
|
signal |
A link to another Tome record has been activated.
- Parameters
-
| recordId | Id of the selected record. |
◆ setDescriptionColumnEnabled()
| void RecordFieldsTableWidget::setDescriptionColumnEnabled |
( |
bool |
enabled | ) |
|
Sets whether to show an additional column with the description of all record fields, or not.
- Parameters
-
| enabled | Whether to show an additional column with the description of all record fields, or not. |
◆ setRecord()
| void RecordFieldsTableWidget::setRecord |
( |
const QVariant |
recordId | ) |
|
Sets the record to edit the field values of.
- Parameters
-
| recordId | Id of the record to edit the field values of. |
◆ setShowComponentNames()
| void RecordFieldsTableWidget::setShowComponentNames |
( |
bool |
showComponentNames | ) |
|
Sets whether to show the names of the respective component in front of the field name, or not.
- Parameters
-
| showComponentNames | Whether to show the names of the respective component in front of the field name, or not. |
◆ updateFieldValue()
| void RecordFieldsTableWidget::updateFieldValue |
( |
int |
i | ) |
|
Updates the specified row of this record field table.
- Parameters
-
| i | Index of the row to update. |
The documentation for this class was generated from the following files: