![]() |
Scanframe Modular Application 0.1.0
|
Interface class to multiple inherit when the sf::FormWriter class needs to be restricted in writing object properties. More...
#include <ObjectExtension.h>

Public Member Functions | |
| virtual bool | isRequiredProperty (const QString &name)=0 |
| Returns true if a property is to be saved to file. | |
| virtual void | addPropertyPages (PropertySheetDialog *sheet) |
| Adds the pages specific for this object. | |
| virtual bool | getSaveChildren () const |
| Gets if the children needs saving by the FormBuilder class. | |
Static Public Member Functions | |
| static bool | inDesigner () |
| Gets the designer status. | |
| static QObject * | getExtensionParent (QObject *obj, bool first=true) |
| Return if the passed object has this type as parent. It starts by testing the passed object itself. | |
Protected Member Functions | |
| ObjectExtension (QObject *object) | |
| Protected constructor only. Inlined so no external libs are need for designer. | |
| virtual | ~ObjectExtension ()=default |
| Virtual destructor. | |
Interface class to multiple inherit when the sf::FormWriter class needs to be restricted in writing object properties.
|
explicitprotected |
Protected constructor only. Inlined so no external libs are need for designer.
| object | This pointer of the extended class instance. |
|
protectedvirtualdefault |
Virtual destructor.
|
virtual |
Adds the pages specific for this object.
| sheet | Parent and property sheet for the page. |
Reimplemented in sf::VariableWidgetBase, sf::LayoutButton, sf::OpenGLWidget, sf::AcquisitionControl, sf::AscanGraph, and sf::BscanGraph.
|
static |
Return if the passed object has this type as parent. It starts by testing the passed object itself.
| obj | Object to start with in the search. |
| first | When false is passed it returns the last one found in the path. |
|
virtual |
Gets if the children needs saving by the FormBuilder class.
|
static |
Gets the designer status.
|
pure virtual |
Returns true if a property is to be saved to file.
| name | Name of the property. |
Implemented in sf::InformationIdEdit, sf::VariableBar, sf::VariableCheckBox, sf::VariableComboBox, sf::VariableEdit, sf::VariableListView, sf::VariableWidgetBase, sf::ActionButton, sf::Editor, sf::LineEdit, sf::AcquisitionControl, sf::AscanGraph, sf::BscanGraph, sf::LayoutButton, sf::LayoutTabs, and sf::OpenGLWidget.