QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
TerminalStripData Class Reference

#include <terminalstripdata.h>

Inheritance diagram for TerminalStripData:
Inheritance graph
Collaboration diagram for TerminalStripData:
Collaboration graph

Public Member Functions

 TerminalStripData ()
 TerminalStripData (const TerminalStripData &other)
void toSettings (QSettings &, const QString=QString()) const override
 toSettings Save properties to setting file.
void fromSettings (const QSettings &, const QString=QString()) override
 fromSettings load properties to setting file.
QDomElement toXml (QDomDocument &xml_document) const override
 toXml Save properties to xml element
bool fromXml (const QDomElement &xml_element) override
 fromXml load properties to xml element
TerminalStripDataoperator= (const TerminalStripData &other)
Public Member Functions inherited from PropertiesInterface
 PropertiesInterface ()
 PropertiesInterface::PropertiesInterface.
virtual ~PropertiesInterface ()
 PropertiesInterface::~PropertiesInterface.

Static Public Member Functions

static QString xmlTagName ()

Static Private Member Functions

static QDomElement infoToXml (QDomDocument &xml_doc, const QString &name, const QString &value)

Private Attributes

QString m_installation = QStringLiteral("=")
QString m_location = QStringLiteral("+")
QString m_name
QString m_comment
QString m_description
QUuid m_uuid = QUuid::createUuid()

Friends

class TerminalStrip
class TerminalStripEditor

Constructor & Destructor Documentation

◆ TerminalStripData() [1/2]

TerminalStripData::TerminalStripData ( )
Here is the caller graph for this function:

◆ TerminalStripData() [2/2]

TerminalStripData::TerminalStripData ( const TerminalStripData & other)
Here is the call graph for this function:

Member Function Documentation

◆ fromSettings()

void TerminalStripData::fromSettings ( const QSettings & settings,
const QString = QString() )
inlineoverridevirtual

fromSettings load properties to setting file.

Parameters
settings: is use for prefix a word before the name of each parameter
QString

Implements PropertiesInterface.

◆ fromXml()

bool TerminalStripData::fromXml ( const QDomElement & xml_element)
overridevirtual

fromXml load properties to xml element

Parameters
xml_element
Returns
true / false

Implements PropertiesInterface.

Here is the call graph for this function:

◆ infoToXml()

QDomElement TerminalStripData::infoToXml ( QDomDocument & xml_doc,
const QString & name,
const QString & value )
staticprivate
Here is the caller graph for this function:

◆ operator=()

TerminalStripData & TerminalStripData::operator= ( const TerminalStripData & other)
Here is the call graph for this function:

◆ toSettings()

void TerminalStripData::toSettings ( QSettings & settings,
const QString = QString() ) const
inlineoverridevirtual

toSettings Save properties to setting file.

Parameters
settings: is use for prefix a word before the name of each parameter
QString

Implements PropertiesInterface.

◆ toXml()

QDomElement TerminalStripData::toXml ( QDomDocument & xml_document) const
overridevirtual

toXml Save properties to xml element

Parameters
xml_document
Returns
QDomElement

Implements PropertiesInterface.

Here is the call graph for this function:

◆ xmlTagName()

QString TerminalStripData::xmlTagName ( )
inlinestatic
Here is the caller graph for this function:

◆ TerminalStrip

friend class TerminalStrip
friend

◆ TerminalStripEditor

friend class TerminalStripEditor
friend

Member Data Documentation

◆ m_comment

QString TerminalStripData::m_comment
private

◆ m_description

QString TerminalStripData::m_description
private

◆ m_installation

QString TerminalStripData::m_installation = QStringLiteral("=")
private

◆ m_location

QString TerminalStripData::m_location = QStringLiteral("+")
private

◆ m_name

QString TerminalStripData::m_name
private

◆ m_uuid

QUuid TerminalStripData::m_uuid = QUuid::createUuid()
private

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