diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-05-27 16:55:18 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-05-27 16:55:18 (GMT) |
commit | f96614f608d080b89fde95118f0eb35443b671ea (patch) | |
tree | a84abd361df10bbd738df670d6375122c457761a /src/gui/widgets/qplaintextedit_p.h | |
parent | d9e42d5c30ec551e6bded0277712eb0c6718b659 (diff) | |
download | Qt-f96614f608d080b89fde95118f0eb35443b671ea.zip Qt-f96614f608d080b89fde95118f0eb35443b671ea.tar.gz Qt-f96614f608d080b89fde95118f0eb35443b671ea.tar.bz2 |
InputMethods supported enabled for QPlainTextEdit.
Diffstat (limited to 'src/gui/widgets/qplaintextedit_p.h')
-rw-r--r-- | src/gui/widgets/qplaintextedit_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/qplaintextedit_p.h b/src/gui/widgets/qplaintextedit_p.h index 0739d53..56a3aa9 100644 --- a/src/gui/widgets/qplaintextedit_p.h +++ b/src/gui/widgets/qplaintextedit_p.h @@ -91,7 +91,10 @@ public: return r; } inline QRectF cursorRect() { return cursorRect(textCursor()); } - void ensureCursorVisible() { textEdit->ensureCursorVisible(); } + void ensureCursorVisible() { + textEdit->ensureCursorVisible(); + emit microFocusChanged(); + } QPlainTextEdit *textEdit; @@ -148,6 +151,7 @@ public: uint backgroundVisible : 1; uint centerOnScroll : 1; uint inDrag : 1; + uint clickCausedFocus : 1; int topLine; |