QwtRichTextEngine renders Qt rich texts using the classes of the Scribe framework of Qt.
Definition at line 150 of file qwt_text_engine.h.
Public Member Functions | |
QwtRichTextEngine () | |
virtual int | heightForWidth (const QFont &font, int flags, const QString &text, int width) const |
virtual QSize | textSize (const QFont &font, int flags, const QString &text) const |
virtual void | draw (QPainter *painter, const QRect &rect, int flags, const QString &text) const |
virtual bool | mightRender (const QString &) const |
virtual void | textMargins (const QFont &, const QString &, int &left, int &right, int &top, int &bottom) const |
|
Constructor.
Definition at line 231 of file qwt_text_engine.cpp. |
|
Draw the text in a clipping rectangle
Implements QwtTextEngine. Definition at line 343 of file qwt_text_engine.cpp. References QwtPainter::drawSimpleRichText(). |
|
Find the height for a given width
Implements QwtTextEngine. Definition at line 245 of file qwt_text_engine.cpp. |
|
Test if a string can be rendered by this text engine
Implements QwtTextEngine. Definition at line 388 of file qwt_text_engine.cpp. |
|
Return margins around the texts
Implements QwtTextEngine. Definition at line 405 of file qwt_text_engine.cpp. |
|
Returns the size, that is needed to render text
Implements QwtTextEngine. Definition at line 270 of file qwt_text_engine.cpp. |