The PropertiesInterface class This class is an interface for have common way to use properties in QElectroTech.
More...
#include <propertiesinterface.h>
The PropertiesInterface class This class is an interface for have common way to use properties in QElectroTech.
◆ PropertiesInterface()
PropertiesInterface::PropertiesInterface |
( |
| ) |
|
◆ ~PropertiesInterface()
PropertiesInterface::~PropertiesInterface |
( |
| ) |
|
|
virtual |
◆ fromSettings()
virtual void PropertiesInterface::fromSettings |
( |
const QSettings & |
settings, |
|
|
const |
QString = QString() |
|
) |
| |
|
pure virtual |
fromSettings load properties to setting file.
- Parameters
-
settings | : is use for prefix a word befor the name of each paramètre |
QString | |
Implemented in XRefProperties, and TerminalData.
◆ fromXml()
virtual bool PropertiesInterface::fromXml |
( |
const QDomElement & |
xml_element | ) |
|
|
pure virtual |
◆ toSettings()
virtual void PropertiesInterface::toSettings |
( |
QSettings & |
settings, |
|
|
const |
QString = QString() |
|
) |
| const |
|
pure virtual |
toSettings Save properties to setting file.
- Parameters
-
settings | : is use for prefix a word befor the name of each paramètre |
QString | |
Implemented in XRefProperties, and TerminalData.
◆ toXml()
virtual QDomElement PropertiesInterface::toXml |
( |
QDomDocument & |
xml_document | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files: