summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-05-09 09:07:02 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-05-23 13:38:22 +0200
commit5feefb0c039dae04290d1fca7c2f24276b6f7582 (patch)
treeafdf2f260f2a150ec048809313d8207f0e04612c /src/gui/text/qrawfont.h
parent6e99936502345eab6ef7862e2cb3740bcc1caef2 (diff)
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.
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r--src/gui/text/qrawfont.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h
index 3875fec641..63f3d882aa 100644
--- a/src/gui/text/qrawfont.h
+++ b/src/gui/text/qrawfont.h
@@ -97,6 +97,7 @@ public:
AntialiasingType antialiasingType = SubPixelAntialiasing,
const QTransform &transform = QTransform()) const;
QPainterPath pathForGlyph(quint32 glyphIndex) const;
+ QRectF boundingRect(quint32 glyphIndex) const;
void setPixelSize(qreal pixelSize);
qreal pixelSize() const;