diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-14 08:00:15 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-21 03:02:21 (GMT) |
commit | 521a9bba59fe198ec7b1afe9bb25a9d3334675cf (patch) | |
tree | 146e3433f401bf642ae29e773ceec50c4203c3ea /src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | |
parent | f141b42b87e0835552c85dbfd1ccce950da5aee3 (diff) | |
download | Qt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.zip Qt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.tar.gz Qt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.tar.bz2 |
Forward mouse events from TextInput and TextEdit to QInputContext.
This brings TextInput in line with QLineEdit. The fix for TextEdit
applies equally to QTextEdit.
Change-Id: I5c47e5c8e951ee53cb1fe45d9c302050cd19deef
Task-number: QTBUG-15705
Reviewed-by: axis
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h index f7446b4..ab2838b 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h @@ -104,6 +104,7 @@ public: void focusChanged(bool hasFocus); void updateHorizontalScroll(); int calculateTextWidth(); + bool sendMouseEventToInputContext(QGraphicsSceneMouseEvent *event, QEvent::Type eventType); QLineControl* control; |