qt5base-lts/tests/auto/widgets
Daniel Teske 9f48f1ebc2 QLineEdit: Fix End key for input masks
Consider this simple example:
   QLineEdit edit;
   edit.setInputMask( "9-9-9-9-9-9" );
   edit.show();

Without any input, m_text will contain: " - - - - - ". text() removes
the input mask's mask characters from that and returns "      ". A string
with 6 spaces. Thus currently the End key jumps to position 6, which is
in the middle of the string. Using m_text the End key jumps to the actual
end.

[ChangeLog][QtWidgets][QLineEdit] Fixed End key in combination with
certain input masks.

Task-number: QTBUG-16187
Task-number: QTBUG-20414
Change-Id: Ibb30a1dfa2f78103611b5afc9971dc43e8bdcc4a
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-11-15 13:40:05 +02:00
..
dialogs Simplify two complex test conditions 2019-11-07 10:35:03 +01:00
effects unblacklist passing tests 2019-07-08 11:01:42 +00:00
graphicsview Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-28 10:50:03 +01:00
itemviews QTreeView: make sure to not ask the old model during setModel 2019-11-14 20:47:45 +02:00
kernel Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-06 11:41:19 +01:00
styles tst_QStyle: Remove unused baseline images (Windows Vista/macOS) 2019-08-22 22:26:53 +02:00
util Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
widgets QLineEdit: Fix End key for input masks 2019-11-15 13:40:05 +02:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00