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

#include <LayoutButton.h>

Inheritance diagram for sf::LayoutButton:
Collaboration diagram for sf::LayoutButton:

Public Member Functions

 LayoutButton (QWidget *parent=nullptr)
 Constructor.
 
bool isRequiredProperty (const QString &name) override
 overridden from base class ObjectExtension.
 
void addPropertyPages (PropertySheetDialog *sheet) override
 Adds specific property page for this widget.
 
- Public Member Functions inherited from sf::ObjectExtension
virtual bool getSaveChildren () const
 Gets if the children needs saving by the FormBuilder class.
 

Protected Member Functions

void openLayout ()
 Opens the specified layout file in a form dialog as a popup window.
 
- Protected Member Functions inherited from sf::ObjectExtension
 ObjectExtension (QObject *object)
 Protected constructor only. Inlined so no external libs are need for designer.
 
virtual ~ObjectExtension ()=default
 Virtual destructor.
 

Properties

QString layoutFile
 
gii::IdType idOffset
 

Additional Inherited Members

- Static Public Member Functions inherited from sf::ObjectExtension
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.
 

Constructor & Destructor Documentation

◆ LayoutButton()

sf::LayoutButton::LayoutButton ( QWidget *  parent = nullptr)
explicit

Constructor.

Parameters
parent

Member Function Documentation

◆ addPropertyPages()

void sf::LayoutButton::addPropertyPages ( PropertySheetDialog sheet)
overridevirtual

Adds specific property page for this widget.

Reimplemented from sf::ObjectExtension.

◆ isRequiredProperty()

bool sf::LayoutButton::isRequiredProperty ( const QString &  name)
overridevirtual

overridden from base class ObjectExtension.

Implements sf::ObjectExtension.

◆ openLayout()

void sf::LayoutButton::openLayout ( )
protected

Opens the specified layout file in a form dialog as a popup window.

Property Documentation

◆ idOffset

gii::IdType sf::LayoutButton::idOffset
readwrite

◆ layoutFile

QString sf::LayoutButton::layoutFile
readwrite

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