Window for adding a new list type or editing an existing one.
More...
#include <listwindow.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 adding a new list type or editing an existing one.
◆ ListWindow()
Constructs a new window for adding a new list type or editing an existing one.
- Parameters
-
| typesController | Controller for adding, updating and removing custom types. |
| parent | Optional owner widget. |
◆ getListItemType()
| QString ListWindow::getListItemType |
( |
| ) |
const |
Gets the type of the items of the list.
- Returns
- Type of the items of the list.
◆ getListName()
| QString ListWindow::getListName |
( |
| ) |
const |
Gets the name of the list type.
- Returns
- Name of the list type.
◆ getTypeSetName()
| QString ListWindow::getTypeSetName |
( |
| ) |
const |
Gets the name of the set the list type should belong to.
- Returns
- Name of the set the list type should belong to.
◆ setListItemType()
| void ListWindow::setListItemType |
( |
const QString & |
itemType | ) |
|
Sets the type of the items of the list.
- Parameters
-
| itemType | Type of the items of the list. |
◆ setListName()
| void ListWindow::setListName |
( |
const QString & |
listName | ) |
|
Sets the name of the list type.
- Parameters
-
| listName | Name of the list type. |
◆ setTypeSetName()
| void ListWindow::setTypeSetName |
( |
const QString & |
typeSet | ) |
|
Sets the name of the set the list type should belong to.
- Parameters
-
| typeSet | Name of the set the list type should belong to. |
◆ setTypeSetNames()
| void ListWindow::setTypeSetNames |
( |
const QStringList & |
typeSets | ) |
|
Sets the list of names of available custom type sets.
- Parameters
-
| typeSets | List of names of available custom type sets. |
◆ showEvent()
| void ListWindow::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/Types/View/listwindow.h
- Source/Tome/Features/Types/View/listwindow.cpp