#include <PaletteServerPropertyPage.h>
|
| | PaletteServerPropertyPage (PaletteServer *server, QWidget *parent) |
| |
| | ~PaletteServerPropertyPage () override |
| |
| QIcon | getPageIcon () const override |
| | Gets the icon of the page for displaying in the list view. Default it returns the sf::Resource settings icon.
|
| |
| QString | getPageName () const override |
| | Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is returned.
|
| |
| QString | getPageDescription () const override |
| | Gets the description for hinting of the page in the list view.
|
| |
| bool | isPageModified () const override |
| | Gets the modified/changed status of the page.
|
| |
| void | afterPageApply (bool was_modified) override |
| | 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.
|
| |
| void | updatePage () override |
| | Updates the control widgets of the page. This method is called to initialize the control widgets.
|
| |
| void | applyPage () override |
| | Applies the changes made in this page.
|
| |
| | PropertyPage (QWidget *parent) |
| | Constructor.
|
| |
| void | setPageIcon (const QIcon &) |
| | Sets the icon of the page for displaying in the list view.
|
| |
| void | setPageName (const QString &) |
| | Sets the page name icon of the page for displaying 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.
|
| |
| PropertySheetDialog * | getSheet () |
| | Gets the parent sheet of this page. (also the parent but cast.)
|
| |
| virtual void | storeState (ConfigStore &cfg_store, bool save) |
| | 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.
|
| |
◆ PaletteServerPropertyPage()
| sf::PaletteServerPropertyPage::PaletteServerPropertyPage |
( |
PaletteServer * |
server, |
|
|
QWidget * |
parent |
|
) |
| |
|
explicit |
◆ ~PaletteServerPropertyPage()
| sf::PaletteServerPropertyPage::~PaletteServerPropertyPage |
( |
| ) |
|
|
override |
◆ afterPageApply()
| void sf::PaletteServerPropertyPage::afterPageApply |
( |
bool |
was_modified | ) |
|
|
overridevirtual |
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.
- Parameters
-
| was_modified | True when this page was modified. |
Reimplemented from sf::PropertyPage.
◆ applyPage()
| void sf::PaletteServerPropertyPage::applyPage |
( |
| ) |
|
|
overridevirtual |
◆ getPageDescription()
| QString sf::PaletteServerPropertyPage::getPageDescription |
( |
| ) |
const |
|
overridevirtual |
Gets the description for hinting of the page in the list view.
Reimplemented from sf::PropertyPage.
◆ getPageIcon()
| QIcon sf::PaletteServerPropertyPage::getPageIcon |
( |
| ) |
const |
|
overridevirtual |
Gets the icon of the page for displaying in the list view. Default it returns the sf::Resource settings icon.
Reimplemented from sf::PropertyPage.
◆ getPageName()
| QString sf::PaletteServerPropertyPage::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::PaletteServerPropertyPage::isPageModified |
( |
| ) |
const |
|
overridevirtual |
Gets the modified/changed status of the page.
- Returns
- True when modified.
Reimplemented from sf::PropertyPage.
◆ updatePage()
| void sf::PaletteServerPropertyPage::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: