diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-22 14:23:08 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-14 12:46:29 (GMT) |
commit | 596d92d6ca25465594e5b852e99d73dda25494fd (patch) | |
tree | 0aabae97679cf55c25b9583d79b1f088aa1217b4 /src/gui/text/qstatictext.h | |
parent | a25dd3694d752cdf104f0a9064f47f001082edad (diff) | |
download | Qt-596d92d6ca25465594e5b852e99d73dda25494fd.zip Qt-596d92d6ca25465594e5b852e99d73dda25494fd.tar.gz Qt-596d92d6ca25465594e5b852e99d73dda25494fd.tar.bz2 |
Fix formatting/clipping rectangle in QPainter::drawStaticText()
The rectangle should clip the text vertically and break lines
horizontally, to mirror behavior of QPainter::drawText().
Diffstat (limited to 'src/gui/text/qstatictext.h')
-rw-r--r-- | src/gui/text/qstatictext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qstatictext.h b/src/gui/text/qstatictext.h index 1855114..fc10712 100644 --- a/src/gui/text/qstatictext.h +++ b/src/gui/text/qstatictext.h @@ -57,6 +57,7 @@ class Q_GUI_EXPORT QStaticText Q_DECLARE_PRIVATE(QStaticText); public: QStaticText(const QString &text, const QFont &font, const QSizeF &maximumSize = QSizeF()); + ~QStaticText(); private: QStaticTextPrivate *d_ptr; |