qt6-bb10/tests/auto
Andy Shaw b92db8a4ad Show the display role inside the editor for the relation in a QComboBox
When a QComboBox is used as the editor for a relation inside a view then
it could end up showing the contents of the EditRole. This would be the
field which is used to represent the entry as opposed to the DisplayRole
which is what the user would expect to see is.

Therefore, setEditorData() is overridden to ensure that it is showing
the right data to the user. When the model gets updated, it will take the
corresponding EditRole value as before to ensure it is updated correctly.

Task-number: QTBUG-59632
Change-Id: Ibbccc3e9477de1cdefb654051b97dd111df36382
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
2018-05-29 22:08:28 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Add binary compatibility files for QtBase for 5.10 2018-01-04 16:26:32 +00:00
cmake Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib Merge remote-tracking branch 'origin/5.11' into dev 2018-05-29 01:00:09 +02:00
dbus tests/auto/dbus: Avoid unconditional qWait()s 2018-04-12 05:49:07 +00:00
gui Tests: replace deprecated QDesktopWidget::screenGeometry() 2018-05-28 17:22:59 +00:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.11' into dev 2018-05-24 16:29:14 +02:00
opengl tst_QGL: Use qWaitForWindowExposed() 2018-04-11 06:05:46 +00:00
other winrt: fix tst_QFocusEvent 2018-05-28 08:36:52 +00:00
printsupport Merge remote-tracking branch 'origin/5.11' into dev 2018-05-03 14:50:22 +02:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Show the display role inside the editor for the relation in a QComboBox 2018-05-29 22:08:28 +00:00
testlib Remove mention of selftest.qrc from generator script's doc 2018-05-08 12:45:25 +00:00
tools qmake: make VFS aware of exact vs. cumulative evaluation 2018-03-29 18:15:10 +00:00
widgets Tests: replace deprecated QDesktopWidget::screenGeometry() 2018-05-28 17:22:59 +00:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip/blacklist failing opengl tests 2018-05-28 08:36:55 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00