|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef CONDUCTOR_PROPERTIES_H
19 #define CONDUCTOR_PROPERTIES_H
40 void toXml(QDomElement &)
const;
42 void toSettings(QSettings &,
const QString & = QString())
const;
43 void fromSettings(QSettings &,
const QString & = QString());
115 void toXml(QDomElement &)
const;
117 void toSettings(QSettings &,
const QString & = QString())
const;
118 void fromSettings(QSettings &,
const QString & = QString());
void readStyle(const QString &)
Definition: conductorproperties.cpp:775
bool m_show_text
Definition: conductorproperties.h:103
@ Multi
Definition: conductorproperties.h:79
bool isPen() const
Definition: conductorproperties.cpp:55
bool m_one_text_per_folio
Definition: conductorproperties.h:104
QColor color
Definition: conductorproperties.h:85
unsigned short int phasesCount()
Definition: conductorproperties.cpp:46
Qt::PenStyle style
Definition: conductorproperties.h:110
QColor text_color
Definition: conductorproperties.h:87
Q_DECLARE_METATYPE(NamesList)
void drawNeutral(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
Definition: conductorproperties.cpp:156
static ConductorProperties defaultProperties()
ConductorProperties::defaultProperties.
Definition: conductorproperties.cpp:720
bool is_pen
Protective Earth Neutral: visually merge neutral and ground.
Definition: conductorproperties.h:50
bool operator!=(const ConductorProperties &) const
Definition: conductorproperties.cpp:767
QString writeStyle() const
Definition: conductorproperties.cpp:806
void drawGround(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
Definition: conductorproperties.cpp:121
void fromSettings(QSettings &, const QString &=QString())
Definition: conductorproperties.cpp:853
double verti_rotate_text
Definition: conductorproperties.h:100
SingleLineProperties()
Definition: conductorproperties.cpp:25
int m_dash_size
Definition: conductorproperties.h:97
void setPhasesCount(int)
Definition: conductorproperties.cpp:41
ConductorType type
Definition: conductorproperties.h:83
void toSettings(QSettings &, const QString &=QString()) const
Definition: conductorproperties.cpp:374
int text_size
Definition: conductorproperties.h:96
void toSettings(QSettings &, const QString &=QString()) const
Definition: conductorproperties.cpp:841
SingleLineProperties singleLineProperties
Definition: conductorproperties.h:112
bool operator==(const ConductorProperties &) const
ConductorProperties::operator ==.
Definition: conductorproperties.cpp:735
The SingleLineProperties class This class represents the properties of a singleline conductor.
Definition: conductorproperties.h:31
void applyForEqualAttributes(QList< ConductorProperties > list)
ConductorProperties::applyForEqualAttributes Test each attribute of properties in the list separatly....
Definition: conductorproperties.cpp:464
void fromXml(QDomElement &)
ConductorProperties::fromXml Import conductor propertie, from the attribute of the xml element 'e'.
Definition: conductorproperties.cpp:307
void toXml(QDomElement &) const
ConductorProperties::toXml Export conductor propertie, in the XML element 'e'.
Definition: conductorproperties.cpp:264
Qt::Alignment m_vertical_alignment
Definition: conductorproperties.h:108
void draw(QPainter *, QET::ConductorSegmentType, const QRectF &)
Definition: conductorproperties.cpp:65
QString m_function
Definition: conductorproperties.h:90
virtual ~ConductorProperties()
Definition: conductorproperties.cpp:255
double horiz_rotate_text
Definition: conductorproperties.h:101
int operator==(const SingleLineProperties &) const
Definition: conductorproperties.cpp:820
Qt::Alignment m_horizontal_alignment
Definition: conductorproperties.h:107
ConductorType
The ConductorType enum Represents the kind of a particular conductor: Single: singleline symbols,...
Definition: conductorproperties.h:79
static QString typeToString(ConductorType)
Definition: conductorproperties.cpp:448
QColor m_color_2
Definition: conductorproperties.h:86
double cond_size
Definition: conductorproperties.h:99
void toXml(QDomElement &) const
Definition: conductorproperties.cpp:215
void drawPen(QPainter *, QET::ConductorSegmentType, QPointF, qreal)
SingleLineProperties::drawPen Draw the PEN (Protective Earth Neutral) symbol using painter at positio...
Definition: conductorproperties.cpp:188
QString m_formula
Definition: conductorproperties.h:94
void fromSettings(QSettings &, const QString &=QString())
Definition: conductorproperties.cpp:407
bool hasNeutral
Whether the singleline conductor should display the neutral symbol.
Definition: conductorproperties.h:48
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition: conductorproperties.h:68
@ Single
Definition: conductorproperties.h:79
ConductorSegmentType
Known kinds of conductor segments.
Definition: qet.h:88
@ Horizontal
Horizontal segment.
Definition: qet.h:89
bool m_bicolor
Definition: conductorproperties.h:105
virtual ~SingleLineProperties()
Destructeur.
Definition: conductorproperties.cpp:34
ConductorProperties()
Definition: conductorproperties.cpp:238
QString m_wire_color
Definition: conductorproperties.h:92
unsigned short int phases
Definition: conductorproperties.h:56
QString text
Definition: conductorproperties.h:89
bool hasGround
Whether the singleline conductor should display the ground symbol.
Definition: conductorproperties.h:46
QString m_tension_protocol
Definition: conductorproperties.h:91
void fromXml(QDomElement &)
Definition: conductorproperties.cpp:227
int operator!=(const SingleLineProperties &) const
Definition: conductorproperties.cpp:833
QString m_wire_section
Definition: conductorproperties.h:93