QElectroTech
0.70
|
#include <qet.h>
Public Types | |
enum | EndType { None, Simple, Triangle, Circle, Diamond } |
This enum lists the various available endings for line primitives when drawing an electrical element. More... | |
enum | Orientation { North, East, South, West } |
Orientation (used for electrical elements and their terminals) More... | |
Static Public Member Functions | |
static QString | endTypeToString (const Qet::EndType &) |
static Qet::EndType | endTypeFromString (const QString &) |
static Qet::Orientation | nextOrientation (Qet::Orientation) |
static Qet::Orientation | previousOrientation (Qet::Orientation) |
static Qet::Orientation | orientationFromString (const QString &) |
static QString | orientationToString (Qet::Orientation) |
static bool | surLeMemeAxe (Qet::Orientation, Qet::Orientation) |
static bool | isOpposed (Qet::Orientation a, Qet::Orientation b) |
Qet::isOpposed. More... | |
static bool | isHorizontal (Qet::Orientation) |
Qet::isHorizontal. More... | |
static bool | isVertical (Qet::Orientation) |
Qet::isVertical. More... | |
enum Qet::EndType |
enum Qet::Orientation |
|
static |
string | une chaine representant un type d'extremite |
Definition at line 466 of file qet.cpp.
References Circle, Diamond, None, Simple, and Triangle.
Referenced by PartLine::fromXml(), and ElementPictureFactory::parseLine().
|
static |
|
static |
a |
Definition at line 106 of file qet.cpp.
Referenced by Terminal::paint().
|
static |
|
static |
|
static |
|
static |
Permet de convertir une chaine de caracteres ("n", "s", "e" ou "w") en orientation. Si la chaine fait plusieurs caracteres, seul le premier est pris en compte. En cas d'incoherence, Qet::North est retourne.
s | Chaine de caractere cense representer une orientation |
Definition at line 35 of file qet.cpp.
References East, North, South, and West.
Referenced by PartTerminal::fromXml().
|
static |
|
static |
|
static |