18 #ifndef CONDUCTOR_PROPERTIES_H 19 #define CONDUCTOR_PROPERTIES_H 38 void toXml(QDomElement &)
const;
40 void toSettings(QSettings &,
const QString & = QString())
const;
41 void fromSettings(QSettings &,
const QString & = QString());
108 void toXml(QDomElement &)
const;
110 void toSettings(QSettings &,
const QString & = QString())
const;
111 void fromSettings(QSettings &,
const QString & = QString());
bool hasGround
Whether the singleline conductor should display the ground symbol.
static ConductorProperties defaultProperties()
ConductorProperties::defaultProperties.
Qt::Alignment m_vertical_alignment
unsigned short int phasesCount()
static QString typeToString(ConductorType)
int operator!=(const SingleLineProperties &) const
bool m_one_text_per_folio
void readStyle(const QString &)
SingleLineProperties singleLineProperties
void toXml(QDomElement &) const
ConductorProperties::toXml Export conductor propertie, in the XML element 'e'.
Qt::Alignment m_horizontal_alignment
void fromXml(QDomElement &)
ConductorProperties::fromXml Import conductor propertie, from the attribute of the xml element 'e'...
virtual ~SingleLineProperties()
Destructeur.
ConductorSegmentType
Known kinds of conductor segments.
bool hasNeutral
Whether the singleline conductor should display the neutral symbol.
virtual ~ConductorProperties()
void fromSettings(QSettings &, const QString &=QString())
void drawGround(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
bool operator!=(const ConductorProperties &) const
void drawNeutral(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
void toSettings(QSettings &, const QString &=QString()) const
ConductorType
The ConductorType enum Represents the kind of a particular conductor: Single: singleline symbols...
unsigned short int phases
QString m_tension_protocol
bool operator==(const ConductorProperties &) const
ConductorProperties::operator ==.
void fromXml(QDomElement &)
int operator==(const SingleLineProperties &) const
void drawPen(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
void toSettings(QSettings &, const QString &=QString()) const
void fromSettings(QSettings &, const QString &=QString())
bool is_pen
Protective Earth Neutral: visually merge neutral and ground.
Q_DECLARE_METATYPE(NamesList)
QString writeStyle() const
void applyForEqualAttributes(QList< ConductorProperties > list)
ConductorProperties::applyForEqualAttributes Test each attribute of properties in the list separatly...
void draw(QPainter *, QET::ConductorSegmentType, const QRectF &)
void toXml(QDomElement &) const