#include <CustomFieldsPropertyPage.h>
|
| CustomFieldsPropertyPage (CustomFields *target, QWidget *parent) |
| Constructor.
|
|
| ~CustomFieldsPropertyPage () override |
| Virtual destructor.
|
|
void | getListData (const QModelIndex &index, int role, QVariant &data) |
|
void | setListData (const QModelIndex &index, int role, const QVariant &data) |
|
bool | isPageModified () const override |
| Overridden from base class.
|
|
void | applyPage () override |
| Overridden from base class.
|
|
void | updatePage () override |
| Overridden from base class.
|
|
void | storeState (ConfigStore &cfg_store, bool save) override |
| Overridden from base class.
|
|
| PropertyPage (QWidget *parent) |
| Constructor.
|
|
virtual QIcon | getPageIcon () const |
| Gets the icon of the page for displaying in the list view. Default it returns the sf::Resource settings icon.
|
|
void | setPageIcon (const QIcon &) |
| Sets the icon of the page for displaying in the list view.
|
|
virtual QString | getPageName () const |
| Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is returned.
|
|
void | setPageName (const QString &) |
| Sets the page name icon of the page for displaying in the list view.
|
|
virtual QString | getPageDescription () const |
| Gets the description for hinting of the page in the list view.
|
|
void | setPageDescription (const QString &) |
| Sets 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. Method can be overridden by a derived class to update control widgets that were changed because of other pages being applied.
|
|
PropertySheetDialog * | getSheet () |
| Gets the parent sheet of this page. (also the parent but cast.)
|
|
|
TClosure< void, QWidget * > | onApply |
| @closure triggered when page is applied.
|
|
◆ CustomFieldsPropertyPage()
sf::CustomFieldsPropertyPage::CustomFieldsPropertyPage |
( |
CustomFields * |
target, |
|
|
QWidget * |
parent |
|
) |
| |
◆ ~CustomFieldsPropertyPage()
sf::CustomFieldsPropertyPage::~CustomFieldsPropertyPage |
( |
| ) |
|
|
override |
◆ applyPage()
void sf::CustomFieldsPropertyPage::applyPage |
( |
| ) |
|
|
overridevirtual |
◆ getListData()
void sf::CustomFieldsPropertyPage::getListData |
( |
const QModelIndex & |
index, |
|
|
int |
role, |
|
|
QVariant & |
data |
|
) |
| |
◆ isPageModified()
bool sf::CustomFieldsPropertyPage::isPageModified |
( |
| ) |
const |
|
overridevirtual |
◆ setListData()
void sf::CustomFieldsPropertyPage::setListData |
( |
const QModelIndex & |
index, |
|
|
int |
role, |
|
|
const QVariant & |
data |
|
) |
| |
◆ storeState()
void sf::CustomFieldsPropertyPage::storeState |
( |
ConfigStore & |
cfg_store, |
|
|
bool |
save |
|
) |
| |
|
overridevirtual |
◆ updatePage()
void sf::CustomFieldsPropertyPage::updatePage |
( |
| ) |
|
|
overridevirtual |
◆ onApply
TClosure<void, QWidget*> sf::CustomFieldsPropertyPage::onApply |
@closure triggered when page is applied.
The documentation for this class was generated from the following file: