Qucs-GUI
0.0.18
|
#include <marker.h>
Public Member Functions | |
Marker (Diagram *Diag_, Graph *pg_=0, int _nn=0, int cx_=0, int cy_=0) | |
~Marker () | |
void | initText (int) |
void | createText () |
void | makeInvalid () |
bool | moveLeftRight (bool) |
bool | moveUpDown (bool) |
void | paint (ViewPainter *, int, int) |
void | paintScheme (QPainter *) |
void | setCenter (int, int, bool) |
void | Bounding (int &_x1, int &_y1, int &_x2, int &_y2) |
QString | save () |
bool | load (const QString &Line) |
bool | getSelected (int, int) |
Marker * | sameNewOne (Graph *) |
void | getTextSize (const QFont &) |
Public Member Functions inherited from Element | |
Element () | |
virtual | ~Element () |
virtual void | paintScheme (Schematic *) |
virtual void | getCenter (int &, int &) |
Data Fields | |
Diagram * | Diag |
Graph * | pGraph |
int | nVarPos |
double * | VarPos |
float | fCX |
float | fCY |
QString | Text |
bool | transparent |
int | Precision |
int | numMode |
double | Z0 |
Data Fields inherited from Element | |
bool | isSelected |
int | Type |
int | cx |
int | cy |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
Definition at line 38 of file marker.cpp.
Marker::~Marker | ( | ) |
Definition at line 61 of file marker.cpp.
void Marker::Bounding | ( | int & | _x1, |
int & | _y1, | ||
int & | _x2, | ||
int & | _y2 | ||
) |
Definition at line 478 of file marker.cpp.
void Marker::createText | ( | ) |
Definition at line 186 of file marker.cpp.
bool Marker::getSelected | ( | int | x_, |
int | y_ | ||
) |
Definition at line 569 of file marker.cpp.
void Marker::getTextSize | ( | const QFont & | Font | ) |
Definition at line 293 of file marker.cpp.
void Marker::initText | ( | int | n | ) |
Definition at line 67 of file marker.cpp.
bool Marker::load | ( | const QString & | Line | ) |
Definition at line 514 of file marker.cpp.
void Marker::makeInvalid | ( | ) |
Definition at line 277 of file marker.cpp.
bool Marker::moveLeftRight | ( | bool | left | ) |
Definition at line 302 of file marker.cpp.
bool Marker::moveUpDown | ( | bool | up | ) |
Definition at line 331 of file marker.cpp.
void Marker::paint | ( | ViewPainter * | p, |
int | x0, | ||
int | y0 | ||
) |
Definition at line 389 of file marker.cpp.
void Marker::paintScheme | ( | QPainter * | p | ) |
Definition at line 445 of file marker.cpp.
Definition at line 578 of file marker.cpp.
QString Marker::save | ( | ) |
Definition at line 495 of file marker.cpp.
|
virtual |
Reimplemented from Element.
Definition at line 467 of file marker.cpp.