#include <Txq2dLabel.h>
Inheritance diagram for Txq2dLabel::

Public Methods | |
| Txq2dLabel () | |
| This constructor is default. More... | |
| Txq2dLabel (QString thisLabel, double sx, double sy) | |
| This constructor draws a text at a x,y position. More... | |
| virtual | ~Txq2dLabel () |
| The destructor is default. More... | |
| void | setLabel (QString label) |
| Set the label to draw. More... | |
| QString | getLabel () |
| Get the label. More... | |
| void | setLocation (TxqDoublePoint p) |
| Set the point in the real-world coordinate system. More... | |
| void | setLocation (double x, double y) |
| Set the point in the real-world coordinate system. More... | |
| void | setLocation (int x, int y) |
| Set the point in the real-world coordinate system. More... | |
| void | setLocation (QPoint p) |
| Set the point in the real-world coordinate system. More... | |
| TxqDoublePoint | getLocation () |
| Returns the point in the real-world coordinate system. More... | |
| void | setFont (QFont f) |
| Set the font for the text. More... | |
| QFont | getFont () |
| Get the label's font. More... | |
| void | paint (QPainter *g) |
| Paints the label text. More... | |
Protected Methods | |
| void | dump (QTextStream *ts) |
| Dump the object's contents to the text stream ts. More... | |
Protected Attributes | |
| TxqDoublePoint | point |
| The location to draw the label. More... | |
| QFont | font |
| The font. More... | |
| QString | label |
| The label to draw. More... | |
Definition at line 24 of file Txq2dLabel.h.
|
|
This constructor is default.
|
|
|
This constructor draws a text at a x,y position.
|
|
|
The destructor is default.
|
|
|
Dump the object's contents to the text stream ts.
Reimplemented from TxqDrawable. |
|
|
Get the label's font.
|
|
|
Get the label.
Reimplemented from TxqDrawable. |
|
|
Returns the point in the real-world coordinate system.
|
|
|
Paints the label text.
Reimplemented from Txq2dDrawable. |
|
|
Set the font for the text.
|
|
|
Set the label to draw.
|
|
|
Set the point in the real-world coordinate system.
|
|
|
Set the point in the real-world coordinate system.
Reimplemented from TxqDrawable. |
|
|
Set the point in the real-world coordinate system.
|
|
|
Set the point in the real-world coordinate system.
|
|
|
The font.
Definition at line 126 of file Txq2dLabel.h. |
|
|
The label to draw.
Reimplemented from TxqDrawable. Definition at line 131 of file Txq2dLabel.h. |
|
|
The location to draw the label.
Definition at line 121 of file Txq2dLabel.h. |
Copyright Tech-X Corporation, all rights reserved.