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

Page to control some properties when translating coords to a Nipscan. More...

#include <NipscanTranslatePropertyPage.h>

Inheritance diagram for sf::ipj::NipscanTranslatePropertyPage:
Collaboration diagram for sf::ipj::NipscanTranslatePropertyPage:

Public Member Functions

 NipscanTranslatePropertyPage (ToolBaseScanMethod *target, QWidget *parent)
 Constructor.
 
 ~NipscanTranslatePropertyPage () override
 
void applyPage () override
 Overridden from base class.
 
void afterPageApply (bool was_modified) override
 Overridden from base class.
 
bool isPageModified () const 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.
 
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
 

Detailed Description

Page to control some properties when translating coords to a Nipscan.

Constructor & Destructor Documentation

◆ NipscanTranslatePropertyPage()

sf::ipj::NipscanTranslatePropertyPage::NipscanTranslatePropertyPage ( ToolBaseScanMethod target,
QWidget *  parent 
)

Constructor.

Parameters
targetTargeted instance.
parentParent of the property page.

◆ ~NipscanTranslatePropertyPage()

sf::ipj::NipscanTranslatePropertyPage::~NipscanTranslatePropertyPage ( )
override

Member Function Documentation

◆ afterPageApply()

void sf::ipj::NipscanTranslatePropertyPage::afterPageApply ( bool  was_modified)
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ applyPage()

void sf::ipj::NipscanTranslatePropertyPage::applyPage ( )
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ isPageModified()

bool sf::ipj::NipscanTranslatePropertyPage::isPageModified ( ) const
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.

◆ updatePage()

void sf::ipj::NipscanTranslatePropertyPage::updatePage ( )
overridevirtual

Overridden from base class.

Reimplemented from sf::PropertyPage.


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