Qucs-GUI
0.0.19
|
#include <graphicline.h>
Public Member Functions | |
GraphicLine (int cx_=0, int cy_=0, int x2_=0, int y2_=0, QPen Pen_=QPen(QColor())) | |
~GraphicLine () | |
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 | paint (ViewPainter *) |
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 () |
Static Public Member Functions | |
static Element * | info (QString &, char *&, bool getNewOne=false) |
Data Fields | |
QPen | Pen |
Definition at line 26 of file graphicline.h.
GraphicLine::GraphicLine | ( | int | cx_ = 0 , |
int | cy_ = 0 , |
||
int | x2_ = 0 , |
||
int | y2_ = 0 , |
||
QPen | Pen_ = QPen(QColor()) |
||
) |
Definition at line 38 of file graphicline.cpp.
void GraphicLine::Bounding | ( | int & | _x1, |
int & | _y1, | ||
int & | _x2, | ||
int & | _y2 | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 282 of file graphicline.cpp.
bool GraphicLine::Dialog | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 322 of file graphicline.cpp.
void GraphicLine::getCenter | ( | int & | x, |
int & | y | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 67 of file graphicline.cpp.
bool GraphicLine::getSelected | ( | float | fX, |
float | fY, | ||
float | w | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 247 of file graphicline.cpp.
Element * GraphicLine::info | ( | QString & | Name, |
char *& | BitmapFile, | ||
bool | getNewOne = false |
||
) | [static] |
bool GraphicLine::load | ( | const QString & | s | ) | [virtual] |
Reimplemented from Painting.
Definition at line 98 of file graphicline.cpp.
void GraphicLine::mirrorX | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 305 of file graphicline.cpp.
void GraphicLine::mirrorY | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 313 of file graphicline.cpp.
void GraphicLine::MouseMoving | ( | Schematic * | paintScale, |
int | , | ||
int | , | ||
int | gx, | ||
int | gy, | ||
Schematic * | p, | ||
int | x, | ||
int | y, | ||
bool | drawn | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 204 of file graphicline.cpp.
bool GraphicLine::MousePressing | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 233 of file graphicline.cpp.
void GraphicLine::MouseResizeMoving | ( | int | x, |
int | y, | ||
Schematic * | p | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 192 of file graphicline.cpp.
Painting * GraphicLine::newOne | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 82 of file graphicline.cpp.
void GraphicLine::paint | ( | ViewPainter * | p | ) | [virtual] |
Reimplemented from Painting.
Definition at line 43 of file graphicline.cpp.
void GraphicLine::paintScheme | ( | Schematic * | p | ) | [virtual] |
Reimplemented from Element.
Definition at line 61 of file graphicline.cpp.
bool GraphicLine::resizeTouched | ( | float | fX, |
float | fY, | ||
float | len | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 170 of file graphicline.cpp.
void GraphicLine::rotate | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 293 of file graphicline.cpp.
QString GraphicLine::save | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 137 of file graphicline.cpp.
QString GraphicLine::saveCpp | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 147 of file graphicline.cpp.
QString GraphicLine::saveJSON | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 157 of file graphicline.cpp.
void GraphicLine::setCenter | ( | int | x, |
int | y, | ||
bool | relative = false |
||
) | [virtual] |
Reimplemented from Element.
Definition at line 75 of file graphicline.cpp.
QPen GraphicLine::Pen |
Definition at line 55 of file graphicline.h.