Dialog containing multiple property pages.
More...
#include <PropertySheetDialog.h>
|
| | PropertySheetDialog (const QString &obj_name, QWidget *parent=nullptr) |
| | Constructor.
|
| |
| | ~PropertySheetDialog () override |
| | Destructor.
|
| |
| void | addPage (PropertyPage *page) |
| | Adds a property page to this sheet. This method cannot be called from a property page's constructor.
|
| |
| bool | isSheetModified () const |
| | Gets the modified aggregated status of all property pages.
|
| |
| void | applySheet () |
| | Applies changes of all pages in the sheet.
|
| |
| int | exec () override |
| | Overridden from base class.
|
| |
| Q_SIGNAL void | modified () |
| | Emitted when a modification was applied.
|
| |
| Q_SLOT void | checkModified (QWidget *origin) |
| | Slot called from page when a control widget has been changed.
|
| |
| ConfigStore & | getConfigStore () |
| | Gets the configuration store for property pages.
|
| |
|
| void | showEvent (QShowEvent *event) override |
| | Overridden from base class.
|
| |
Dialog containing multiple property pages.
◆ PropertySheetDialog()
| sf::PropertySheetDialog::PropertySheetDialog |
( |
const QString & |
obj_name, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
| obj_name | Object name for identifying this sheet for referencing. |
| parent | Optional parent widget. |
◆ ~PropertySheetDialog()
| sf::PropertySheetDialog::~PropertySheetDialog |
( |
| ) |
|
|
override |
◆ addPage()
| void sf::PropertySheetDialog::addPage |
( |
PropertyPage * |
page | ) |
|
Adds a property page to this sheet. This method cannot be called from a property page's constructor.
- Parameters
-
◆ applySheet()
| void sf::PropertySheetDialog::applySheet |
( |
| ) |
|
Applies changes of all pages in the sheet.
◆ checkModified()
| Q_SLOT void sf::PropertySheetDialog::checkModified |
( |
QWidget * |
origin | ) |
|
Slot called from page when a control widget has been changed.
◆ exec()
| int sf::PropertySheetDialog::exec |
( |
| ) |
|
|
override |
Overridden from base class.
◆ getConfigStore()
| ConfigStore & sf::PropertySheetDialog::getConfigStore |
( |
| ) |
|
Gets the configuration store for property pages.
◆ isSheetModified()
| bool sf::PropertySheetDialog::isSheetModified |
( |
| ) |
const |
Gets the modified aggregated status of all property pages.
- Returns
- True when the sheet is modified.
◆ modified()
| Q_SIGNAL void sf::PropertySheetDialog::modified |
( |
| ) |
|
Emitted when a modification was applied.
◆ showEvent()
| void sf::PropertySheetDialog::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprotected |
Overridden from base class.
The documentation for this class was generated from the following file: