Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ServicePropertyPage Class Reference

#include <ServicePropertyPage.h>

Inheritance diagram for sf::ServicePropertyPage:
Collaboration diagram for sf::ServicePropertyPage:

Public Member Functions

 ServicePropertyPage (ServiceAppModule &ucm, QWidget *parent)
 
 ~ServicePropertyPage () override
 
QString getPageName () const override
 Gets the name of the page for displaying in the list view.
 
QString getPageDescription () const override
 Gets the description for hinting of the page in the list view.
 
QIcon getPageIcon () const override
 Gets the name of the page for displaying in the list view.
 
void updatePage () override
 Updates the control widgets of the page.
 
void applyPage () override
 Applies the changes made in this page.
 
bool isPageModified () const override
 Gets the modified/changed status of the page.
 
void afterPageApply (bool was_modified) override
 Called when all pages are applied.
 
- Public Member Functions inherited from sf::PropertyPage
 PropertyPage (QWidget *parent)
 Constructor.
 
virtual bool canApplyPage () const
 Allows validation of the changes made per page. First page which return false is selected.
 
PropertySheetDialoggetSheet ()
 Gets the parent sheet of this page. (also the parent but casted.)
 
virtual void stateSaveRestore (QSettings &settings, bool save)
 Called by sheet to save the state of the page.
 

Additional Inherited Members

- Protected Member Functions inherited from sf::PropertyPage
virtual QWidgetList connectControls ()
 Connects all known controls change signals to a handler which enables or disables buttons.
 
- Protected Attributes inherited from sf::PropertyPage
PropertySheetDialog_sheet
 Holds the sheet it is part of.
 
friend PropertySheetDialog
 

Constructor & Destructor Documentation

◆ ServicePropertyPage()

sf::ServicePropertyPage::ServicePropertyPage ( ServiceAppModule ucm,
QWidget *  parent 
)
explicit

◆ ~ServicePropertyPage()

sf::ServicePropertyPage::~ServicePropertyPage ( )
override

Member Function Documentation

◆ afterPageApply()

void sf::ServicePropertyPage::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_modifiedTrue when this page was modified.

Reimplemented from sf::PropertyPage.

◆ applyPage()

void sf::ServicePropertyPage::applyPage ( )
overridevirtual

Applies the changes made in this page.

Reimplemented from sf::PropertyPage.

◆ getPageDescription()

QString sf::ServicePropertyPage::getPageDescription ( ) const
overridevirtual

Gets the description for hinting of the page in the list view.

Reimplemented from sf::PropertyPage.

◆ getPageIcon()

QIcon sf::ServicePropertyPage::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::ServicePropertyPage::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::ServicePropertyPage::isPageModified ( ) const
overridevirtual

Gets the modified/changed status of the page.

Returns
True when modified.

Reimplemented from sf::PropertyPage.

◆ updatePage()

void sf::ServicePropertyPage::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: