diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-09-07 21:26:36 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-09-08 10:32:25 +0200 |
commit | a517afd54f76f6ab1845b631544345a0e32460a6 (patch) | |
tree | d4fe6ac11870164d23b8814069fb571e9a916b45 /src/widgets/kernel/qwidget_p.h | |
parent | 6d9d1e78f442b7480ae764d292099c34cb727ca5 (diff) |
MicroFocus is in item coordinates
Always set the microFocus/cursorRectangle in item
coordinates.
Correctly update the itemTransform in the QInputPanel for QWidgets.
Change-Id: Ic0187f808996f31e6238d934f43bc97a70522a55
Reviewed-on: http://codereview.qt-project.org/4402
Reviewed-by: Vesa Rantanen <vesa.rantanen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
-rw-r--r-- | src/widgets/kernel/qwidget_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h index f3838ee3dd..7c74f794f9 100644 --- a/src/widgets/kernel/qwidget_p.h +++ b/src/widgets/kernel/qwidget_p.h @@ -504,6 +504,9 @@ public: void syncBackingStore(); void syncBackingStore(const QRegion ®ion); + // tells the input panel about the widgets transform + void updateWidgetTransform(); + void reparentFocusWidgets(QWidget *oldtlw); static int pointToRect(const QPoint &p, const QRect &r); |