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

Derived class to be able to prevent some properties to be stored when written to file. More...

#include <FormBuilder.h>

Inheritance diagram for sf::FormBuilder:
Collaboration diagram for sf::FormBuilder:

Public Member Functions

QWidget * load (QIODevice *dev, QWidget *parentWidget) override
 Overridden from QFormBuilder base class.
 
void save (QIODevice *dev, QWidget *widget) override
 Overridden from QFormBuilder base class.
 

Protected Member Functions

QList< DomProperty * > computeProperties (QObject *obj) override
 Overridden from QFormBuilder base class.
 
void fixSavingProperties (QWidget *widget, QDomDocument &dom)
 Fixes the missing property dom elements when saving the dom.
 
void fixLoadingProperties (QWidget *widget, QDomDocument &dom)
 Fixes the missing property dom elements when loading the dom.
 

Detailed Description

Derived class to be able to prevent some properties to be stored when written to file.

Member Function Documentation

◆ computeProperties()

QList< DomProperty * > sf::FormBuilder::computeProperties ( QObject *  obj)
overrideprotected

Overridden from QFormBuilder base class.

◆ fixLoadingProperties()

void sf::FormBuilder::fixLoadingProperties ( QWidget *  widget,
QDomDocument &  dom 
)
protected

Fixes the missing property dom elements when loading the dom.

◆ fixSavingProperties()

void sf::FormBuilder::fixSavingProperties ( QWidget *  widget,
QDomDocument &  dom 
)
protected

Fixes the missing property dom elements when saving the dom.

◆ load()

QWidget * sf::FormBuilder::load ( QIODevice *  dev,
QWidget *  parentWidget 
)
override

Overridden from QFormBuilder base class.

◆ save()

void sf::FormBuilder::save ( QIODevice *  dev,
QWidget *  widget 
)
override

Overridden from QFormBuilder base class.


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