18 #ifndef XREFPROPERTIES_H 19 #define XREFPROPERTIES_H 22 #include <QStringList> 43 void toSettings (QSettings &settings,
const QString = QString())
const override;
44 void fromSettings (
const QSettings &settings,
const QString = QString())
override;
45 void toXml (QDomElement &xml_element)
const override;
46 void fromXml (
const QDomElement &xml_element)
override;
85 #endif // XREFPROPERTIES_H
void setMasterLabel(const QString master)
QString prefix(const QString &key) const
The XRefProperties class this class store properties used by XrefItem.
DisplayHas displayHas() const
void setSlaveLabel(const QString slave)
void setSnapTo(const SnapTo st)
QString slaveLabel() const
void fromSettings(const QSettings &settings, const QString=QString()) override
XRefProperties::fromSettings load from settings.
bool showPowerContact() const
QHash< QString, QString > m_prefix
static QHash< QString, XRefProperties > defaultProperties()
XRefProperties::defaultProperties.
QString masterLabel() const
void toSettings(QSettings &settings, const QString=QString()) const override
XRefProperties::toSettings Save to settings.
bool operator==(const XRefProperties &xrp) const
void toXml(QDomElement &xml_element) const override
XRefProperties::toXml Save to xml.
void setPrefix(const QString &key, const QString &value)
void fromXml(const QDomElement &xml_element) override
XRefProperties::fromXml Load from xml.
void setDisplayHas(const DisplayHas dh)
The PropertiesInterface class This class is an interface for have common way to use properties in QEl...
XRefProperties()
XRefProperties::XRefProperties Default Constructor.
bool operator!=(const XRefProperties &xrp) const
void setShowPowerContac(const bool a)
QStringList m_prefix_keys
void setOffset(const int offset)