Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::CheckPositionsPropertyPage Class Referencefinal

Property page for editing check positions. More...

#include <CheckPositionsPropertyPage.h>

Inheritance diagram for sf::CheckPositionsPropertyPage:
Collaboration diagram for sf::CheckPositionsPropertyPage:

Public Member Functions

 CheckPositionsPropertyPage (DefaultScanBinder *target, int scan_index, QWidget *parent)
 Initializing constructor.
 
 ~CheckPositionsPropertyPage () override
 Virtual overridden destructor.
 
void storeState (ConfigStore &cfg_store, bool save) override
 Overridden from base class.
 
void getListData (const QModelIndex &index, int role, QVariant &data)
 handler for providing listmodel data.
 
void setListData (const QModelIndex &index, int role, const QVariant &data)
 handler for setting listmodel attached data.
 
bool isPageModified () const override
 Overridden from base class.
 
void applyPage () override
 Overridden from base class.
 
void updatePage () override
 Overridden from base class.
 
- Public Member Functions inherited from sf::PropertyPage
 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.
 
PropertySheetDialoggetSheet ()
 Gets the parent sheet of this page. (also the parent but cast.)
 

Additional Inherited Members

- Protected Member Functions inherited from sf::PropertyPage
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.
 
virtual void connectIt (PropertySheetDialog *sheet, const QObject *object, QWidgetList &list)
 Connects all standard controls to the sf::PropertySheetDialog::checkModified() method. Is called recursively.
 
- 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
 

Detailed Description

Property page for editing check positions.

Constructor & Destructor Documentation

◆ CheckPositionsPropertyPage()

sf::CheckPositionsPropertyPage::CheckPositionsPropertyPage ( DefaultScanBinder target,
int  scan_index,
QWidget *  parent 
)

Initializing constructor.

◆ ~CheckPositionsPropertyPage()

sf::CheckPositionsPropertyPage::~CheckPositionsPropertyPage ( )
override

Virtual overridden destructor.

Member Function Documentation

◆ applyPage()

void sf::CheckPositionsPropertyPage::applyPage ( )
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ getListData()

void sf::CheckPositionsPropertyPage::getListData ( const QModelIndex &  index,
int  role,
QVariant &  data 
)

handler for providing listmodel data.

◆ isPageModified()

bool sf::CheckPositionsPropertyPage::isPageModified ( ) const
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ setListData()

void sf::CheckPositionsPropertyPage::setListData ( const QModelIndex &  index,
int  role,
const QVariant &  data 
)

handler for setting listmodel attached data.

◆ storeState()

void sf::CheckPositionsPropertyPage::storeState ( ConfigStore cfg_store,
bool  save 
)
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ updatePage()

void sf::CheckPositionsPropertyPage::updatePage ( )
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.


The documentation for this class was generated from the following file: