|
QElectroTech
0.70
|
#include <conductorprofile.h>
Public Member Functions | |
| ConductorProfile () | |
| Constructeur. More... | |
| ConductorProfile (Conductor *conductor) | |
| ConductorProfile (const ConductorProfile &) | |
| ConductorProfile & | operator= (const ConductorProfile &) |
| virtual | ~ConductorProfile () |
| destructeur More... | |
| bool | isNull () const |
| void | setNull () |
| supprime les segments du profil de conducteur More... | |
| qreal | width () const |
| qreal | height () const |
| uint | segmentsCount (QET::ConductorSegmentType) const |
| QList< ConductorSegmentProfile * > | horizontalSegments () |
| QList< ConductorSegmentProfile * > | verticalSegments () |
| void | fromConductor (Conductor *) |
Public Attributes | |
| QList< ConductorSegmentProfile * > | segments |
| Segments composing the conductor. More... | |
| Qet::Orientation | beginOrientation |
| Orientation of the start terminal. More... | |
| Qet::Orientation | endOrientation |
| Orientation of the end terminal. More... | |
This class represents the profile of a conductor, i.e. its primary characteristics.
Definition at line 28 of file conductorprofile.h.
| ConductorProfile::ConductorProfile | ( | ) |
Constructeur.
Definition at line 24 of file conductorprofile.cpp.
| ConductorProfile::ConductorProfile | ( | Conductor * | conductor | ) |
Constructeur
| conductor | conducteur dont il faut extraire le profil |
Definition at line 31 of file conductorprofile.cpp.
References fromConductor().
| ConductorProfile::ConductorProfile | ( | const ConductorProfile & | c | ) |
Constructeur de copie
| c | autre conducteur |
Definition at line 39 of file conductorprofile.cpp.
References beginOrientation, endOrientation, and segments.
|
virtual |
| void ConductorProfile::fromConductor | ( | Conductor * | conductor | ) |
Reconstruit le profil a partir d'un conducteur existant
Definition at line 135 of file conductorprofile.cpp.
References beginOrientation, endOrientation, segments, and setNull().
Referenced by ConductorProfile().
| qreal ConductorProfile::height | ( | ) | const |
Definition at line 92 of file conductorprofile.cpp.
References segments.
Referenced by Conductor::updateConductorPath().
| QList< ConductorSegmentProfile * > ConductorProfile::horizontalSegments | ( | ) |
Definition at line 115 of file conductorprofile.cpp.
References segments.
Referenced by Conductor::updateConductorPath().
| bool ConductorProfile::isNull | ( | ) | const |
Definition at line 72 of file conductorprofile.cpp.
References segments.
Referenced by Conductor::updateConductorPath().
| ConductorProfile & ConductorProfile::operator= | ( | const ConductorProfile & | c | ) |
Operateur =
| c | autre conducteur |
Definition at line 51 of file conductorprofile.cpp.
References beginOrientation, endOrientation, segments, and setNull().
| uint ConductorProfile::segmentsCount | ( | QET::ConductorSegmentType | type | ) | const |
| type | Type de Segments |
Definition at line 104 of file conductorprofile.cpp.
References QET::Both, QET::Horizontal, segments, and QET::Vertical.
Referenced by Conductor::updateConductorPath().
| void ConductorProfile::setNull | ( | ) |
supprime les segments du profil de conducteur
Definition at line 77 of file conductorprofile.cpp.
References segments.
Referenced by fromConductor(), operator=(), and ~ConductorProfile().
| QList< ConductorSegmentProfile * > ConductorProfile::verticalSegments | ( | ) |
Definition at line 124 of file conductorprofile.cpp.
References segments.
Referenced by Conductor::updateConductorPath().
| qreal ConductorProfile::width | ( | ) | const |
Definition at line 83 of file conductorprofile.cpp.
References segments.
Referenced by Conductor::updateConductorPath().
| Qet::Orientation ConductorProfile::beginOrientation |
Orientation of the start terminal.
Definition at line 42 of file conductorprofile.h.
Referenced by ConductorProfile(), fromConductor(), and operator=().
| Qet::Orientation ConductorProfile::endOrientation |
Orientation of the end terminal.
Definition at line 44 of file conductorprofile.h.
Referenced by ConductorProfile(), fromConductor(), and operator=().
| QList<ConductorSegmentProfile *> ConductorProfile::segments |
Segments composing the conductor.
Definition at line 40 of file conductorprofile.h.
Referenced by ConductorProfile(), fromConductor(), height(), horizontalSegments(), isNull(), operator<<(), operator=(), segmentsCount(), setNull(), Conductor::updateConductorPath(), verticalSegments(), and width().
1.8.15