Qucs-GUI
0.0.18
|
#include <wirelabel.h>
Public Member Functions | |
WireLabel (const QString &_Name=0, int _cx=0, int _cy=0, int _x1=0, int _y1=0, int _Type=isNodeLabel) | |
~WireLabel () | |
void | paintScheme (QPainter *p) |
void | setCenter (int x, int y, bool relative=false) |
bool | getSelected (int, int) |
void | setName (const QString &Name_) |
void | setHighlighted (bool newval) |
void | paint (ViewPainter *) |
void | rotate () |
QString | save () |
bool | load (const QString &s) |
bool | isHorizontal () |
Public Member Functions inherited from Element | |
Element () | |
virtual | ~Element () |
virtual void | paintScheme (Schematic *) |
virtual void | getCenter (int &, int &) |
Data Fields | |
Conductor * | pOwner |
QString | Name |
QString | initValue |
Data Fields inherited from Element | |
bool | isSelected |
int | Type |
int | cx |
int | cy |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
Private Attributes | |
bool | isHighlighted |
Definition at line 32 of file wirelabel.h.
WireLabel::WireLabel | ( | const QString & | _Name = 0 , |
int | _cx = 0 , |
||
int | _cy = 0 , |
||
int | _x1 = 0 , |
||
int | _y1 = 0 , |
||
int | _Type = isNodeLabel |
||
) |
Definition at line 27 of file wirelabel.cpp.
WireLabel::~WireLabel | ( | ) |
Definition at line 42 of file wirelabel.cpp.
bool WireLabel::getSelected | ( | int | x, |
int | y | ||
) |
Definition at line 97 of file wirelabel.cpp.
bool WireLabel::isHorizontal | ( | ) |
bool WireLabel::load | ( | const QString & | s | ) |
void WireLabel::paint | ( | ViewPainter * | p | ) |
Definition at line 109 of file wirelabel.cpp.
void WireLabel::paintScheme | ( | QPainter * | p | ) |
Definition at line 47 of file wirelabel.cpp.
void WireLabel::rotate | ( | ) |
QString WireLabel::save | ( | ) |
Definition at line 214 of file wirelabel.cpp.
|
virtual |
Reimplemented from Element.
Definition at line 67 of file wirelabel.cpp.
|
inline |
Definition at line 42 of file wirelabel.h.
void WireLabel::setName | ( | const QString & | Name_ | ) |
Definition at line 196 of file wirelabel.cpp.
QString WireLabel::initValue |
Definition at line 46 of file wirelabel.h.
|
private |
Definition at line 55 of file wirelabel.h.
QString WireLabel::Name |
Definition at line 46 of file wirelabel.h.
Conductor* WireLabel::pOwner |
Definition at line 42 of file wirelabel.h.