#include <WidgetPropertyPage.h>
|
| WidgetPropertyPage (QWidget *target, QWidget *parent=nullptr) |
|
| ~WidgetPropertyPage () override |
|
bool | isPageModified () const override |
| Gets the modified/changed status of the page.
|
|
QString | getPageName () const override |
| Gets the name of the page for displaying in the list view.
|
|
QIcon | getPageIcon () const override |
| Gets the name of the page for displaying in the list view.
|
|
void | applyPage () override |
| Applies the changes made in this page.
|
|
void | updatePage () override |
| Updates the control widgets of the page.
|
|
void | stateSaveRestore (QSettings &settings, bool save) override |
| Called by sheet to save the state of the page.
|
|
| PropertyPage (QWidget *parent) |
| Constructor.
|
|
virtual QString | getPageDescription () const |
| Gets the description for hinting of the page in the list view.
|
|
virtual bool | canApplyPage () const |
| Allows validation of the changes made per page. First page which return false is selected.
|
|
virtual void | afterPageApply (bool was_modified) |
| Called when all pages are applied.
|
|
PropertySheetDialog * | getSheet () |
| Gets the parent sheet of this page. (also the parent but casted.)
|
|
◆ WidgetPropertyPage()
sf::WidgetPropertyPage::WidgetPropertyPage |
( |
QWidget * |
target, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~WidgetPropertyPage()
sf::WidgetPropertyPage::~WidgetPropertyPage |
( |
| ) |
|
|
override |
◆ applyPage()
void sf::WidgetPropertyPage::applyPage |
( |
| ) |
|
|
overridevirtual |
◆ getPageIcon()
QIcon sf::WidgetPropertyPage::getPageIcon |
( |
| ) |
const |
|
overridevirtual |
Gets the name of the page for displaying in the list view.
When not reimplemented this method returns the Resource settings icon.
Reimplemented from sf::PropertyPage.
◆ getPageName()
QString sf::WidgetPropertyPage::getPageName |
( |
| ) |
const |
|
overridevirtual |
Gets the name of the page for displaying in the list view.
When reimplemented the QObject's name is returned.
Reimplemented from sf::PropertyPage.
◆ isPageModified()
bool sf::WidgetPropertyPage::isPageModified |
( |
| ) |
const |
|
overridevirtual |
Gets the modified/changed status of the page.
- Returns
- True when modified.
Reimplemented from sf::PropertyPage.
◆ stateSaveRestore()
void sf::WidgetPropertyPage::stateSaveRestore |
( |
QSettings & |
settings, |
|
|
bool |
save |
|
) |
| |
|
overridevirtual |
Called by sheet to save the state of the page.
A call to QSettings::beginGroup() is not needed since it is done by the parent sheet already.
Reimplemented from sf::PropertyPage.
◆ updatePage()
void sf::WidgetPropertyPage::updatePage |
( |
| ) |
|
|
overridevirtual |
Updates the control widgets of the page.
This method is called to initialize the control widgets.
Reimplemented from sf::PropertyPage.
The documentation for this class was generated from the following file: