Qucs-GUI
0.0.19
|
#include <graphictext.h>
Public Member Functions | |
GraphicText () | |
~GraphicText () | |
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 &) |
void | rotate () |
void | mirrorX () |
void | mirrorY () |
bool | Dialog () |
Static Public Member Functions | |
static Element * | info (QString &, char *&, bool getNewOne=false) |
Data Fields | |
QColor | Color |
QFont | Font |
QString | Text |
int | Angle |
Definition at line 28 of file graphictext.h.
Definition at line 44 of file graphictext.cpp.
void GraphicText::Bounding | ( | int & | xmin, |
int & | ymin, | ||
int & | xmax, | ||
int & | ymax | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 268 of file graphictext.cpp.
bool GraphicText::Dialog | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 321 of file graphictext.cpp.
void GraphicText::getCenter | ( | int & | x, |
int & | y | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 106 of file graphictext.cpp.
bool GraphicText::getSelected | ( | float | fX, |
float | fY, | ||
float | |||
) | [virtual] |
Reimplemented from Painting.
Definition at line 251 of file graphictext.cpp.
Element * GraphicText::info | ( | QString & | Name, |
char *& | BitmapFile, | ||
bool | getNewOne = false |
||
) | [static] |
bool GraphicText::load | ( | const QString & | s | ) | [virtual] |
Reimplemented from Painting.
Definition at line 137 of file graphictext.cpp.
void GraphicText::mirrorX | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 308 of file graphictext.cpp.
void GraphicText::mirrorY | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 314 of file graphictext.cpp.
void GraphicText::MouseMoving | ( | Schematic * | , |
int | , | ||
int | , | ||
int | gx, | ||
int | gy, | ||
Schematic * | p, | ||
int | x, | ||
int | y, | ||
bool | drawn | ||
) | [virtual] |
Reimplemented from Painting.
Definition at line 222 of file graphictext.cpp.
bool GraphicText::MousePressing | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 243 of file graphictext.cpp.
Painting * GraphicText::newOne | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 121 of file graphictext.cpp.
void GraphicText::paint | ( | ViewPainter * | p | ) | [virtual] |
Reimplemented from Painting.
Definition at line 49 of file graphictext.cpp.
void GraphicText::paintScheme | ( | Schematic * | p | ) | [virtual] |
Reimplemented from Element.
Definition at line 92 of file graphictext.cpp.
void GraphicText::rotate | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 298 of file graphictext.cpp.
QString GraphicText::save | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 177 of file graphictext.cpp.
QString GraphicText::saveCpp | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 190 of file graphictext.cpp.
QString GraphicText::saveJSON | ( | ) | [virtual] |
Reimplemented from Painting.
Definition at line 204 of file graphictext.cpp.
void GraphicText::setCenter | ( | int | x, |
int | y, | ||
bool | relative = false |
||
) | [virtual] |
Reimplemented from Element.
Definition at line 114 of file graphictext.cpp.
Definition at line 57 of file graphictext.h.
QColor GraphicText::Color |
Definition at line 54 of file graphictext.h.
QFont GraphicText::Font |
Definition at line 55 of file graphictext.h.
QString GraphicText::Text |
Definition at line 56 of file graphictext.h.