The ConductorProperties class This class represents the functional properties of a particular conductor, i.e. properties other than path and terminals.
More...
#include <conductorproperties.h>
|
enum | ConductorType { Single,
Multi
} |
| The ConductorType enum Represents the kind of a particular conductor: Single: singleline symbols, no text input Multi: text input, no symbol. More...
|
|
The ConductorProperties class This class represents the functional properties of a particular conductor, i.e. properties other than path and terminals.
◆ ConductorType
The ConductorType enum Represents the kind of a particular conductor: Single: singleline symbols, no text input Multi: text input, no symbol.
◆ ConductorProperties()
ConductorProperties::ConductorProperties |
( |
| ) |
|
Constructeur : par defaut, les proprietes font un conducteur multifilaire noir dont le texte est "_"
◆ ~ConductorProperties()
ConductorProperties::~ConductorProperties |
( |
| ) |
|
|
virtual |
◆ applyForEqualAttributes()
◆ defaultProperties()
◆ fromSettings()
void ConductorProperties::fromSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
prefix = QString() |
|
) |
| |
- Parameters
-
settings | Parametres a lire |
prefix | prefixe a ajouter devant les noms des parametres |
◆ fromXml()
void ConductorProperties::fromXml |
( |
QDomElement & |
e | ) |
|
◆ operator!=()
- Parameters
-
other | l'autre ensemble de proprietes avec lequel il faut effectuer la comparaison |
- Returns
- true si les deux ensembles de proprietes sont differents, false sinon
◆ operator==()
◆ readStyle()
void ConductorProperties::readStyle |
( |
const QString & |
style_string | ) |
|
|
private |
Applique les styles passes en parametre dans cet objet
- Parameters
-
style_string | Chaine decrivant le style du conducteur |
◆ toSettings()
void ConductorProperties::toSettings |
( |
QSettings & |
settings, |
|
|
const QString & |
prefix = QString() |
|
) |
| const |
- Parameters
-
settings | Parametres a ecrire |
prefix | prefixe a ajouter devant les noms des parametres |
◆ toXml()
void ConductorProperties::toXml |
( |
QDomElement & |
e | ) |
const |
◆ typeToString()
◆ writeStyle()
QString ConductorProperties::writeStyle |
( |
| ) |
const |
|
private |
Exporte le style du conducteur sous forme d'une chaine de caracteres
- Returns
- une chaine de caracteres decrivant le style du conducteur
◆ color
QColor ConductorProperties::color |
◆ cond_size
double ConductorProperties::cond_size |
◆ horiz_rotate_text
double ConductorProperties::horiz_rotate_text |
◆ m_bicolor
bool ConductorProperties::m_bicolor = false |
◆ m_color_2
QColor ConductorProperties::m_color_2 |
◆ m_dash_size
int ConductorProperties::m_dash_size = 1 |
◆ m_formula
QString ConductorProperties::m_formula |
◆ m_function
QString ConductorProperties::m_function |
◆ m_horizontal_alignment
Qt::Alignment ConductorProperties::m_horizontal_alignment = Qt::AlignBottom |
◆ m_one_text_per_folio
bool ConductorProperties::m_one_text_per_folio |
◆ m_show_text
bool ConductorProperties::m_show_text |
◆ m_tension_protocol
QString ConductorProperties::m_tension_protocol |
◆ m_vertical_alignment
Qt::Alignment ConductorProperties::m_vertical_alignment = Qt::AlignRight |
◆ m_wire_color
QString ConductorProperties::m_wire_color |
◆ m_wire_section
QString ConductorProperties::m_wire_section |
◆ singleLineProperties
◆ style
Qt::PenStyle ConductorProperties::style |
◆ text
QString ConductorProperties::text |
◆ text_color
QColor ConductorProperties::text_color |
◆ text_size
int ConductorProperties::text_size |
◆ type
◆ verti_rotate_text
double ConductorProperties::verti_rotate_text |
The documentation for this class was generated from the following files: