Window for duplicating an existing record, including all of its field values.
More...
#include <duplicaterecordwindow.h>
|
|
void | accept () |
| | Validates all data and closes this window if successful.
|
| |
|
| | DuplicateRecordWindow (QWidget *parent=0) |
| | Constructs a new window for duplicating an existing record, including all of its field values. More...
|
| |
| QString | getRecordId () const |
| | Gets the id of the record to add. More...
|
| |
| void | setDisallowedRecordIds (const QStringList disallowedRecordIds) |
| | Sets the list of record ids that are prohibited (e.g. because other records with the same id exist). More...
|
| |
| void | setRecordId (const QString &id) |
| | Sets the id of the record to add. More...
|
| |
|
| void | showEvent (QShowEvent *event) |
| | Sets up this window, e.g. by setting the focus on the first widget. More...
|
| |
Window for duplicating an existing record, including all of its field values.
◆ DuplicateRecordWindow()
| DuplicateRecordWindow::DuplicateRecordWindow |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs a new window for duplicating an existing record, including all of its field values.
- Parameters
-
| parent | Optional owner widget. |
◆ getRecordId()
| QString DuplicateRecordWindow::getRecordId |
( |
| ) |
const |
Gets the id of the record to add.
- Returns
- Id of the record to add.
◆ setDisallowedRecordIds()
| void DuplicateRecordWindow::setDisallowedRecordIds |
( |
const QStringList |
disallowedRecordIds | ) |
|
Sets the list of record ids that are prohibited (e.g. because other records with the same id exist).
- Parameters
-
| disallowedRecordIds | List of record ids that are prohibited. |
◆ setRecordId()
| void DuplicateRecordWindow::setRecordId |
( |
const QString & |
id | ) |
|
Sets the id of the record to add.
- Parameters
-
| id | Id of the record to add. |
◆ showEvent()
| void DuplicateRecordWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protected |
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/Records/View/duplicaterecordwindow.h
- Source/Tome/Features/Records/View/duplicaterecordwindow.cpp