Qucs-GUI
0.0.19
|
The Arrow class implements the arrow painting. More...
#include <arrow.h>
Public Member Functions | |
Arrow () | |
~Arrow () | |
void | paint (ViewPainter *) |
void | paintScheme (Schematic *) |
void | getCenter (int &, int &) |
void | setCenter (int, int, bool relative=false) |
Painting * | newOne () |
bool | load (const QString &) |
QString | save () |
QString | saveCpp () |
QString | saveJSON () |
void | MouseMoving (Schematic *, int, int, int, int, Schematic *, int, int, bool) |
bool | MousePressing () |
bool | getSelected (float, float, float) |
void | Bounding (int &, int &, int &, int &) |
bool | resizeTouched (float, float, float) |
void | MouseResizeMoving (int, int, Schematic *) |
void | rotate () |
void | mirrorX () |
void | mirrorY () |
bool | Dialog () |
void | calcArrowHead () |
Static Public Member Functions | |
static Element * | info (QString &, char *&, bool getNewOne=false) |
Data Fields | |
QPen | Pen |
int | Style |
double | Height |
double | Width |
double | Length |
double | beta |
int | xp1 |
int | yp1 |
int | xp2 |
int | yp2 |
Arrow::Arrow | ( | ) |
Arrow::~Arrow | ( | ) |
void Arrow::Bounding | ( | int & | _x1, |
int & | _y1, | ||
int & | _x2, | ||
int & | _y2 | ||
) | [virtual] |
void Arrow::calcArrowHead | ( | ) |
bool Arrow::Dialog | ( | ) | [virtual] |
void Arrow::getCenter | ( | int & | x, |
int & | y | ||
) | [virtual] |
bool Arrow::getSelected | ( | float | fX, |
float | fY, | ||
float | w | ||
) | [virtual] |
Element * Arrow::info | ( | QString & | Name, |
char *& | BitmapFile, | ||
bool | getNewOne = false |
||
) | [static] |
bool Arrow::load | ( | const QString & | s | ) | [virtual] |
void Arrow::mirrorX | ( | ) | [virtual] |
void Arrow::mirrorY | ( | ) | [virtual] |
void Arrow::MouseMoving | ( | Schematic * | paintScale, |
int | , | ||
int | , | ||
int | gx, | ||
int | gy, | ||
Schematic * | p, | ||
int | x, | ||
int | y, | ||
bool | drawn | ||
) | [virtual] |
bool Arrow::MousePressing | ( | ) | [virtual] |
void Arrow::MouseResizeMoving | ( | int | x, |
int | y, | ||
Schematic * | p | ||
) | [virtual] |
Painting * Arrow::newOne | ( | ) | [virtual] |
void Arrow::paint | ( | ViewPainter * | p | ) | [virtual] |
void Arrow::paintScheme | ( | Schematic * | p | ) | [virtual] |
bool Arrow::resizeTouched | ( | float | fX, |
float | fY, | ||
float | len | ||
) | [virtual] |
void Arrow::rotate | ( | ) | [virtual] |
QString Arrow::save | ( | ) | [virtual] |
QString Arrow::saveCpp | ( | ) | [virtual] |
QString Arrow::saveJSON | ( | ) | [virtual] |
void Arrow::setCenter | ( | int | x, |
int | y, | ||
bool | relative = false |
||
) | [virtual] |
double Arrow::beta |
double Arrow::Height |
double Arrow::Length |
QPen Arrow::Pen |
int Arrow::Style |
double Arrow::Width |
int Arrow::xp1 |
int Arrow::xp2 |
int Arrow::yp1 |
int Arrow::yp2 |