Text annotation information.
More...
#include <infoclasses.h>
|
|
| TextInfo () |
| | Default constructor.
|
| |
| | TextInfo (QString ID_, QString text_, QFont font_=QFont(), QColor color_=Qt::black, QPointF position_=QPointF()) |
| | Construct with full parameters.
|
| |
| void | setParams (QString ID_, QString text_, QFont font_=QFont(), QColor color_=Qt::black, QPointF position_=QPointF()) |
| | Set text parameters.
|
| |
|
|
QString | ID |
| | Text identifier.
|
| |
|
QString | text |
| | Display text content.
|
| |
|
QFont | font |
| | Text font.
|
| |
|
QColor | color |
| | Text color.
|
| |
|
QPointF | position |
| | Text position.
|
| |
Text annotation information.
◆ TextInfo()
| TextInfo::TextInfo |
( |
QString |
ID_, |
|
|
QString |
text_, |
|
|
QFont |
font_ = QFont(), |
|
|
QColor |
color_ = Qt::black, |
|
|
QPointF |
position_ = QPointF() |
|
) |
| |
|
inline |
Construct with full parameters.
- Parameters
-
| ID_ | Text identifier |
| text_ | Display text |
| font_ | Text font |
| color_ | Text color |
| position_ | Text position |
◆ setParams()
| void TextInfo::setParams |
( |
QString |
ID_, |
|
|
QString |
text_, |
|
|
QFont |
font_ = QFont(), |
|
|
QColor |
color_ = Qt::black, |
|
|
QPointF |
position_ = QPointF() |
|
) |
| |
|
inline |
Set text parameters.
- Parameters
-
| ID_ | Text identifier |
| text_ | Display text |
| font_ | Text font |
| color_ | Text color |
| position_ | Text position |
The documentation for this class was generated from the following file: