18#ifndef TERMINALSTRIPDATA_H
19#define TERMINALSTRIPDATA_H
21#include "../properties/propertiesinterface.h"
34 void toSettings(QSettings &,
const QString = QString())
const override {}
35 void fromSettings (
const QSettings &,
const QString = QString())
override {}
37 QDomElement
toXml (QDomDocument &xml_document)
const override;
38 bool fromXml (
const QDomElement &xml_element)
override;
40 static QString
xmlTagName() {
return QStringLiteral(
"terminal_strip_data");}
45 static QDomElement
infoToXml(QDomDocument &xml_doc,
const QString &name,
const QString &value);
The PropertiesInterface class This class is an interface for have common way to use properties in QEl...
Definition propertiesinterface.h:31
Definition terminalstripdata.h:26
TerminalStripData()
Definition terminalstripdata.cpp:22
TerminalStripData & operator=(const TerminalStripData &other)
Definition terminalstripdata.cpp:90
QString m_comment
Definition terminalstripdata.h:50
static QDomElement infoToXml(QDomDocument &xml_doc, const QString &name, const QString &value)
Definition terminalstripdata.cpp:102
QString m_description
Definition terminalstripdata.h:51
static QString xmlTagName()
Definition terminalstripdata.h:40
QDomElement toXml(QDomDocument &xml_document) const override
toXml Save properties to xml element
Definition terminalstripdata.cpp:31
void toSettings(QSettings &, const QString=QString()) const override
toSettings Save properties to setting file.
Definition terminalstripdata.h:34
QString m_name
Definition terminalstripdata.h:49
void fromSettings(const QSettings &, const QString=QString()) override
fromSettings load properties to setting file.
Definition terminalstripdata.h:35
QString m_location
Definition terminalstripdata.h:48
bool fromXml(const QDomElement &xml_element) override
fromXml load properties to xml element
Definition terminalstripdata.cpp:59
QString m_installation
Definition terminalstripdata.h:47
QUuid m_uuid
Definition terminalstripdata.h:52
The TerminalStripEditor class Main dialog used to edit terminal strip of a project.
Definition terminalstripeditor.h:38
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45