|
Public Member Functions |
| | Label (QString string=QString(""), QFont font=QFont(QString("Adobe Times"), 14), QColor color=QColor("black")) |
| QStringList | Info () |
| void | save (QTextStream *ts) |
| void | open (QTextStream *ts, int version) |
| void | draw (QPainter *p, Point pos, Point size, int w, int h, double phi) |
| bool | inside (int x0, int y0, Point pos, Point size, int w, int h) |
| | return true if mouse inside (x0,y0)
|
| bool | insideY (int x0, int y0, Point pos, Point size, int w, int h) |
| bool | insideZ (int x0, int y0, Point pos, Point size, int w, int h) |
| void | setPosition (double X, double Y) |
| double | X () |
| double | Y () |
| QString | title () |
| void | setTitle (QString title) |
| void | setColor (QColor color) |
| QColor | color () |
| void | setFont (QFont font) |
| QFont | font () |
| void | setBoxed (bool b) |
| bool | Boxed () |
| double | getRotation () |
| void | setRotation (double r) |
Private Attributes |
| double | x |
| double | y |
| QString | t |
| QFont | f |
| QColor | c |
| QSimpleRichText * | richtext |
| bool | boxed |
| double | rotation |