#include <MultiPropertyWizardPane.hpp>
|
QVBoxLayout * | _multiLayout |
|
QList< PropertyWizardPane * > | _subPanes |
|
QHash< QObject *, bool > | _subPaneState |
|
A MultiPropertyWizardPane instance combines one or more PropertyWizardPane instances into a single pane. It is used to show the user interface for multiple non-compound properties on a single pane rather than on consecutive wizard panes.
◆ MultiPropertyWizardPane()
MultiPropertyWizardPane::MultiPropertyWizardPane |
( |
QObject * |
target | ) |
|
|
explicit |
The default (and only) constructor connects the multiPropertyValidChanged() and multiPropertyValueChanged() signals to the specified target object. These signals are emitted by the multi-pane in response to the corresponding signals emitted by the subpanes being managed.
◆ addPane()
This function adds the specified wizard pane to the multi-pane's layout and includes it in the list of subpanes being managed by the multi-pane. The multi-wizard pane assumes ownership of the provided PropertyWizardPane instance.
◆ emitValidity()
void MultiPropertyWizardPane::emitValidity |
( |
| ) |
|
|
private |
This function emits the multiPropertyValidChanged signal with the aggregate validity of the visible subpanes.
◆ hierarchyWasChanged
void MultiPropertyWizardPane::hierarchyWasChanged |
( |
| ) |
|
|
slot |
◆ multiPropertyValidChanged
void MultiPropertyWizardPane::multiPropertyValidChanged |
( |
bool |
valid | ) |
|
|
signal |
This signal is emitted when the valid state of the multi-pane may have changed, i.e. when the valid state of a managed subpane changes.
◆ multiPropertyValueChanged
void MultiPropertyWizardPane::multiPropertyValueChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the value of one of the properties being handled by multi-pane pane has changed.
◆ setPropertyValid
void MultiPropertyWizardPane::setPropertyValid |
( |
bool |
valid | ) |
|
|
slot |
This function emits a multiPropertyValidChanged() signal in response to a signal received from one of the subpanes being managed. It tracks the validity state for each of the subpanes so that it can pass on an aggregate value, i.e. the multi-pane is valid only when all subpanes are valid.
◆ showEvent()
void MultiPropertyWizardPane::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprotected |
This function ensures that the first focus-enabled widget in the pane receives the focus when the pane is shown.
◆ updateVisibility()
void MultiPropertyWizardPane::updateVisibility |
( |
| ) |
|
|
private |
This function hides subpanes that are currently silent for the purpose of this wizard and shows the other subpanes.
The documentation for this class was generated from the following file:
- MultiPropertyWizardPane.hpp