From 5feefb0c039dae04290d1fca7c2f24276b6f7582 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 9 May 2011 09:07:02 +0200 Subject: Enablers for TextInput In order to use the scene graph text node in TextInput, we need enablers. Most of this is to enable selections, which in turn means we need to be able to extract a certain set of glyphs from a QTextLine. --- src/gui/text/qglyphrun.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/text/qglyphrun.h') diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h index dcc166ea3e..18afb2e1d8 100644 --- a/src/gui/text/qglyphrun.h +++ b/src/gui/text/qglyphrun.h @@ -87,6 +87,8 @@ public: void setStrikeOut(bool strikeOut); bool strikeOut() const; + QRectF boundingRect() const; + private: friend class QGlyphRunPrivate; friend class QTextLine; -- cgit v1.2.3