The XRefProperties class this class store properties used by XrefItem.
More...
#include <xrefproperties.h>
The XRefProperties class this class store properties used by XrefItem.
◆ DisplayHas
◆ SnapTo
◆ XRefProperties()
XRefProperties::XRefProperties |
( |
| ) |
|
◆ defaultProperties()
QHash< QString, XRefProperties > XRefProperties::defaultProperties |
( |
| ) |
|
|
static |
XRefProperties::defaultProperties.
- Returns
- the default properties stored in the setting file For the xref, there are 2 properties. For coil, stored with the string "coil" in the returned QHash. For protection, stored with the string "protection" in the returned QHash.
◆ displayHas()
◆ fromSettings()
void XRefProperties::fromSettings |
( |
const QSettings & |
settings, |
|
|
const QString |
prefix = QString() |
|
) |
| |
|
overridevirtual |
◆ fromXml()
bool XRefProperties::fromXml |
( |
const QDomElement & |
xml_element | ) |
|
|
overridevirtual |
◆ getXrefPos()
Qt::AlignmentFlag XRefProperties::getXrefPos |
( |
| ) |
const |
|
inline |
◆ masterLabel()
QString XRefProperties::masterLabel |
( |
| ) |
const |
|
inline |
◆ offset()
int XRefProperties::offset |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator==()
◆ prefix()
QString XRefProperties::prefix |
( |
const QString & |
key | ) |
const |
|
inline |
◆ setDisplayHas()
void XRefProperties::setDisplayHas |
( |
const DisplayHas |
dh | ) |
|
|
inline |
◆ setKey()
void XRefProperties::setKey |
( |
QString & |
key | ) |
|
|
inline |
◆ setMasterLabel()
void XRefProperties::setMasterLabel |
( |
const QString |
master | ) |
|
|
inline |
◆ setOffset()
void XRefProperties::setOffset |
( |
const int |
offset | ) |
|
|
inline |
◆ setPrefix()
void XRefProperties::setPrefix |
( |
const QString & |
key, |
|
|
const QString & |
value |
|
) |
| |
|
inline |
◆ setShowPowerContac()
void XRefProperties::setShowPowerContac |
( |
const bool |
a | ) |
|
|
inline |
◆ setSlaveLabel()
void XRefProperties::setSlaveLabel |
( |
const QString |
slave | ) |
|
|
inline |
◆ setSnapTo()
void XRefProperties::setSnapTo |
( |
const SnapTo |
st | ) |
|
|
inline |
◆ setXrefPos()
void XRefProperties::setXrefPos |
( |
const Qt::AlignmentFlag |
xref | ) |
|
|
inline |
◆ showPowerContact()
bool XRefProperties::showPowerContact |
( |
| ) |
const |
|
inline |
◆ slaveLabel()
QString XRefProperties::slaveLabel |
( |
| ) |
const |
|
inline |
◆ snapTo()
SnapTo XRefProperties::snapTo |
( |
| ) |
const |
|
inline |
◆ toSettings()
void XRefProperties::toSettings |
( |
QSettings & |
settings, |
|
|
const QString |
prefix = QString() |
|
) |
| const |
|
overridevirtual |
◆ toXml()
QDomElement XRefProperties::toXml |
( |
QDomDocument & |
xml_document | ) |
const |
|
overridevirtual |
◆ m_display
◆ m_key
QString XRefProperties::m_key |
|
private |
◆ m_master_label
QString XRefProperties::m_master_label |
|
private |
◆ m_offset
int XRefProperties::m_offset |
|
private |
◆ m_prefix
QHash<QString, QString> XRefProperties::m_prefix |
|
private |
◆ m_prefix_keys
QStringList XRefProperties::m_prefix_keys |
|
private |
◆ m_show_power_ctc
bool XRefProperties::m_show_power_ctc |
|
private |
◆ m_slave_label
QString XRefProperties::m_slave_label |
|
private |
◆ m_snap_to
SnapTo XRefProperties::m_snap_to |
|
private |
◆ m_xref_pos
Qt::AlignmentFlag XRefProperties::m_xref_pos |
|
private |
The documentation for this class was generated from the following files: