Qucs-GUI
0.0.19
|
#include <portsymbol.h>
Public Member Functions | |
PortSymbol (int cx_=0, int cy_=0, const QString &numberStr_="1", const QString &nameStr_="") | |
~PortSymbol () | |
void | paintScheme (Schematic *) |
void | getCenter (int &, int &) |
void | setCenter (int, int, bool relative=false) |
bool | load (const QString &) |
QString | save () |
QString | saveCpp () |
QString | saveJSON () |
void | paint (ViewPainter *) |
bool | getSelected (float, float, float) |
void | Bounding (int &, int &, int &, int &) |
void | rotate () |
void | mirrorX () |
void | mirrorY () |
Data Fields | |
int | Angel |
QString | numberStr |
QString | nameStr |
Definition at line 25 of file portsymbol.h.
PortSymbol::PortSymbol | ( | int | cx_ = 0 , |
int | cy_ = 0 , |
||
const QString & | numberStr_ = "1" , |
||
const QString & | nameStr_ = "" |
||
) |
Definition at line 23 of file portsymbol.cpp.
Definition at line 43 of file portsymbol.cpp.
void PortSymbol::Bounding | ( | int & | _x1, |
int & | _y1, | ||
int & | _x2, | ||
int & | _y2 | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 199 of file portsymbol.cpp.
void PortSymbol::getCenter | ( | int & | x, |
int & | y | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 122 of file portsymbol.cpp.
bool PortSymbol::getSelected | ( | float | fX, |
float | fY, | ||
float | |||
) | [virtual] |
Reimplemented from Painting.
Definition at line 188 of file portsymbol.cpp.
bool PortSymbol::load | ( | const QString & | s | ) | [virtual] |
Reimplemented from Painting.
Definition at line 137 of file portsymbol.cpp.
void PortSymbol::mirrorX | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 215 of file portsymbol.cpp.
void PortSymbol::mirrorY | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 223 of file portsymbol.cpp.
void PortSymbol::paint | ( | ViewPainter * | p | ) | [virtual] |
Reimplemented from Painting.
Definition at line 48 of file portsymbol.cpp.
void PortSymbol::paintScheme | ( | Schematic * | p | ) | [virtual] |
Reimplemented from Element.
Definition at line 115 of file portsymbol.cpp.
void PortSymbol::rotate | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 207 of file portsymbol.cpp.
QString PortSymbol::save | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 162 of file portsymbol.cpp.
QString PortSymbol::saveCpp | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 170 of file portsymbol.cpp.
QString PortSymbol::saveJSON | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 179 of file portsymbol.cpp.
void PortSymbol::setCenter | ( | int | x, |
int | y, | ||
bool | relative = false |
||
) | [virtual] |
Reimplemented from Element.
Definition at line 130 of file portsymbol.cpp.
Definition at line 47 of file portsymbol.h.
QString PortSymbol::nameStr |
Definition at line 48 of file portsymbol.h.
QString PortSymbol::numberStr |
Definition at line 48 of file portsymbol.h.