#include <ItemListPropertyWizardPane.hpp>
|
QPushButton * | _addButton |
|
QPushButton * | _editButton |
|
QListWidget * | _listWidget |
|
QPushButton * | _removeButton |
|
An ItemListPropertyWizardPane instance displays the user interface corresponding to an ItemListPropertyHandler. When the user makes a choice, a new simulation item of the selected type is created and added to the target property.
◆ ItemListPropertyWizardPane()
ItemListPropertyWizardPane::ItemListPropertyWizardPane |
( |
std::unique_ptr< PropertyHandler > |
handler, |
|
|
QObject * |
target |
|
) |
| |
|
explicit |
The default (and only) constructor creates and initializes the GUI for this pane. For a description of the arguments, see the PropertyWizardPane constructor.
◆ addItem
void ItemListPropertyWizardPane::addItem |
( |
| ) |
|
|
slot |
This function adds a simulation item to the list of the target property.
◆ advanceToEditSubItem
void ItemListPropertyWizardPane::advanceToEditSubItem |
( |
int |
subItemIndex | ) |
|
|
signal |
This signal is emitted when the "Edit" button is pressed.
◆ editItem
void ItemListPropertyWizardPane::editItem |
( |
| ) |
|
|
slot |
This function edits a simulation item in the list of the target property.
◆ removeItem
void ItemListPropertyWizardPane::removeItem |
( |
| ) |
|
|
slot |
This function removes a simulation item from the list of the target property.
◆ setButtonsEnabled()
void ItemListPropertyWizardPane::setButtonsEnabled |
( |
| ) |
|
|
private |
This function enables or disables the push buttons depending on the contents of the list widget, and emits a propertyValidChanged signal with the appropriate argument.
◆ storeSelectedRow
void ItemListPropertyWizardPane::storeSelectedRow |
( |
int |
row | ) |
|
|
slot |
This function stores the specified value for this combination of target simulation item and item list property. It is intended to make the zero-based index of the currently selected row persistent during a particular session from one display of the wizard to the next.
The documentation for this class was generated from the following file:
- ItemListPropertyWizardPane.hpp