Dialog containing multiple property pages.
More...
#include <PropertySheetDialog.h>
|
| PropertySheetDialog (const QString &name, QSettings *settings, 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 |
|
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.
|
|
Dialog containing multiple property pages.
◆ PropertySheetDialog()
sf::PropertySheetDialog::PropertySheetDialog |
( |
const QString & |
name, |
|
|
QSettings * |
settings, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
name | Name for identifying this sheet for referencing. |
settings | Settings to store |
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 |
◆ 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 |
The documentation for this class was generated from the following file: