summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-22 14:23:08 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-14 12:46:29 (GMT)
commit596d92d6ca25465594e5b852e99d73dda25494fd (patch)
tree0aabae97679cf55c25b9583d79b1f088aa1217b4 /src/gui/text/qstatictext.h
parenta25dd3694d752cdf104f0a9064f47f001082edad (diff)
downloadQt-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.h1
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;