显示 QwtText 的控件
更多...
#include <qwt_text_label.h>
|
| virtual void | paintEvent (QPaintEvent *) override |
| | Paint event handler
|
| |
| virtual void | drawContents (QPainter *) |
| | Draw the contents
|
| |
|
|
int | indent |
| |
|
int | margin |
| |
|
QString | plainText |
| |
◆ QwtTextLabel() [1/2]
| QwtTextLabel::QwtTextLabel |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ QwtTextLabel() [2/2]
| QwtTextLabel::QwtTextLabel |
( |
const QwtText & |
text, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~QwtTextLabel()
| QwtTextLabel::~QwtTextLabel |
( |
| ) |
|
|
virtual |
◆ clear
| void QwtTextLabel::clear |
( |
| ) |
|
|
slot |
◆ drawContents()
| void QwtTextLabel::drawContents |
( |
QPainter * |
painter | ) |
|
|
protectedvirtual |
Draw the contents
Redraw the text and focus indicator
◆ drawText()
| void QwtTextLabel::drawText |
( |
QPainter * |
painter, |
|
|
const QRectF & |
textRect |
|
) |
| |
|
virtual |
◆ heightForWidth()
| int QwtTextLabel::heightForWidth |
( |
int |
width | ) |
const |
|
overridevirtual |
◆ indent()
| int QwtTextLabel::indent |
( |
| ) |
const |
◆ margin()
| int QwtTextLabel::margin |
( |
| ) |
const |
◆ minimumSizeHint()
| QSize QwtTextLabel::minimumSizeHint |
( |
| ) |
const |
|
overridevirtual |
◆ paintEvent()
| void QwtTextLabel::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ plainText()
| QString QwtTextLabel::plainText |
( |
| ) |
const |
◆ setIndent()
| void QwtTextLabel::setIndent |
( |
int |
indent | ) |
|
◆ setMargin()
| void QwtTextLabel::setMargin |
( |
int |
margin | ) |
|
◆ setPlainText()
| void QwtTextLabel::setPlainText |
( |
const QString & |
text | ) |
|
◆ setText [1/2]
◆ setText [2/2]
| void QwtTextLabel::setText |
( |
const QwtText & |
text | ) |
|
|
virtualslot |
◆ sizeHint()
| QSize QwtTextLabel::sizeHint |
( |
| ) |
const |
|
overridevirtual |
◆ text()
| const QwtText & QwtTextLabel::text |
( |
| ) |
const |
◆ textRect()
| QRect QwtTextLabel::textRect |
( |
| ) |
const |
该类的文档由以下文件生成:
- /home/runner/work/QWT/QWT/src/plot/qwt_text_label.h
- /home/runner/work/QWT/QWT/src/plot/qwt_text_label.cpp