Qucs-GUI
0.0.19
|
#include <wire.h>
Public Member Functions | |
Wire (int _x1=0, int _y1=0, int _x2=0, int _y2=0, Node *n1=0, Node *n2=0) | |
~Wire () | |
void | paint (ViewPainter *) |
void | paintScheme (QPainter *) |
void | setCenter (int, int, bool relative=false) |
void | getCenter (int &, int &) |
bool | getSelected (int, int) |
void | setName (const QString &, const QString &, int delta_=0, int x_=0, int y_=0) |
void | rotate () |
QString | save () |
bool | load (const QString &) |
bool | isHorizontal () |
Data Fields | |
Node * | Port1 |
Node * | Port2 |
Wire::Wire | ( | int | _x1 = 0 , |
int | _y1 = 0 , |
||
int | _x2 = 0 , |
||
int | _y2 = 0 , |
||
Node * | n1 = 0 , |
||
Node * | n2 = 0 |
||
) |
Wire::~Wire | ( | ) |
void Wire::getCenter | ( | int & | x, |
int & | y | ||
) | [virtual] |
bool Wire::getSelected | ( | int | x_, |
int | y_ | ||
) |
bool Wire::isHorizontal | ( | ) |
bool Wire::load | ( | const QString & | _s | ) |
void Wire::paint | ( | ViewPainter * | p | ) |
void Wire::paintScheme | ( | QPainter * | p | ) | [virtual] |
void Wire::rotate | ( | ) |
QString Wire::save | ( | ) |
void Wire::setCenter | ( | int | x, |
int | y, | ||
bool | relative = false |
||
) | [virtual] |
void Wire::setName | ( | const QString & | Name_, |
const QString & | Value_, | ||
int | delta_ = 0 , |
||
int | x_ = 0 , |
||
int | y_ = 0 |
||
) |