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

#include <GmiServerPropertyPage.h>

Inheritance diagram for sf::GmiServerPropertyPage:
Collaboration diagram for sf::GmiServerPropertyPage:

Public Member Functions

 GmiServerPropertyPage (GmiServer *target, QWidget *parent)
 
 ~GmiServerPropertyPage () 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. When reimplemented the QObject's name is returned.
 
QIcon getPageIcon () const override
 Gets the icon of the page for displaying in the list view. Default it returns the sf::Resource settings icon.
 
void applyPage () override
 Applies the changes made in this page.
 
void updatePage () override
 Updates the control widgets of the page. This method is called to initialize the control widgets.
 
- Public Member Functions inherited from sf::PropertyPage
 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.
 
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.
 
PropertySheetDialoggetSheet ()
 Gets the parent sheet of this page. (also the parent but cast.)
 
virtual void stateSaveRestore (QSettings &settings, 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.
 

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. A derived class should call this method when the is set up and controls are updated.
 
- Protected Attributes inherited from sf::PropertyPage
PropertySheetDialog_sheet
 Holds the sheet it is part of and also its parent.
 
QString _name
 Holds the name of the property page for when getPageName() is not overridden.
 
QString _description
 Holds the description of the property page for when getPageDescription() is not overridden.
 
QIcon _icon
 Holds the description of the property page for when getPageIcon() is not overridden.
 
friend PropertySheetDialog
 

Constructor & Destructor Documentation

◆ GmiServerPropertyPage()

sf::GmiServerPropertyPage::GmiServerPropertyPage ( GmiServer target,
QWidget *  parent 
)
explicit

◆ ~GmiServerPropertyPage()

sf::GmiServerPropertyPage::~GmiServerPropertyPage ( )
override

Member Function Documentation

◆ applyPage()

void sf::GmiServerPropertyPage::applyPage ( )
overridevirtual

Applies the changes made in this page.

Reimplemented from sf::PropertyPage.

◆ getPageIcon()

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

Gets the modified/changed status of the page.

Returns
True when modified.

Reimplemented from sf::PropertyPage.

◆ updatePage()

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