diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-07-18 11:22:31 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-07-18 13:12:17 +0200 |
commit | 5ca8f4d7a4171a1dae355899fb4fa457d34489b1 (patch) | |
tree | e31dca31c6d4f99563a886ed155f117e8e2b3d56 /src/libs/installer/lazyplaintextedit.h | |
parent | e7925974802829339ebe351a5bb5a5d143933745 (diff) |
Show Details widget doesn't follow content during install.
Now also keeps the position if we have scrolled somewhere.
Task-number: QTIFW-353
Change-Id: I58e90592df3d8d4589b5e577366c251e501900d9
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/lazyplaintextedit.h')
-rw-r--r-- | src/libs/installer/lazyplaintextedit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/installer/lazyplaintextedit.h b/src/libs/installer/lazyplaintextedit.h index 34651a36b..06cf45f0a 100644 --- a/src/libs/installer/lazyplaintextedit.h +++ b/src/libs/installer/lazyplaintextedit.h @@ -48,7 +48,12 @@ class LazyPlainTextEdit : public QPlainTextEdit { Q_OBJECT public: + enum struct TextCursorPosition { + Keep, + ForceEnd + }; explicit LazyPlainTextEdit(QWidget *parent = 0); + void updateCursor(TextCursorPosition position); public slots: void append(const QString &text); |