qtdeclarative/tests/auto/quick
Ulf Hermann c66fb45c88 QmlModels: Signal list model changes also via QQmlTableInstanceModel
Allow QQmlDelegateModelItemMetaType to store any QQmlInstanceModel, but
also store the kind of model we're dealing with so that we can quickly
produce a QQmlDelegateModel or a QQmlTableInstanceModel when necessary.
This allows us to send the modelChanged() signal. We do not expect to
perform the same trickery that QQmlDelegateModel and
QQmlTableInstanceModel do more often. Therefore this solution does not
need to scale beyond those.

Pick-to: 6.10
Task-number: QTBUG-139941
Change-Id: Id6d2a8ae5f96b755a776eb354e6ae291314dbf7b
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2025-09-15 20:08:03 +02:00
..
doc QQuickTest: add and use active focus macros 2025-04-25 08:36:08 +08:00
drawingmodes Wrap SKIP_IF_NO_* macros in do while(false) loop 2024-09-05 17:43:50 +08:00
examples tests/: more const containers instead of std::as_const() 2025-01-07 01:47:40 +02:00
geometry Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
nodes Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
nokeywords Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
pointerhandlers DeliveryAgent: stop sending hovering mouse moves to grabber 2025-08-13 19:42:10 +02:00
propertyrequirements Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickaccessible wasm: a11y - Send ObjectDestroyed event from quickitem destructor 2025-08-14 07:05:17 +02:00
qquickanchors Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickanimatedimage tst_qquickanimatedimage::playingAndPausedChanges: bump timeout to 2 seconds 2025-08-31 15:41:49 +08:00
qquickanimatedsprite Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickanimationcontroller Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickanimations tst_qquickanimations: bump defaultTryTimeout to 2 seconds 2025-08-08 16:46:38 +08:00
qquickanimators Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickapplication Remove request for activation tst_QQuickApplication::state 2025-03-28 15:44:58 +00:00
qquickbehaviors Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickborderimage Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickboundaryrule Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickcanvasitem Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickcolorgroup Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickdeliveryagent Fix for global position in hover events 2025-06-04 09:37:29 +02:00
qquickdesignersupport Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickdrag Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickdragattached Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickdroparea Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickdynamicpropertyanimation Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickflickable QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qquickflipable Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickfocusscope QQuickTest: add and use active focus macros 2025-04-25 08:36:08 +08:00
qquickfontloader Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickfontloader_static Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickfontmetrics Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickframebufferobject Correct license for test files 2024-02-27 10:32:21 +01:00
qquickgraphicsinfo Correct license for test files 2024-02-27 10:32:21 +01:00
qquickgridview QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qquickimage Use SKIP_IF_NO_WINDOW_GRAB in more places 2024-12-05 10:21:55 +08:00
qquickimageprovider Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickitem tests: do not leak QPointingDevice instances 2025-05-10 20:03:44 +02:00
qquickitem2 QQuickTest: add and use active focus macros 2025-04-25 08:36:08 +08:00
qquickitemlayer Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquicklayouts Support Flexbox layout in Qt Quick 2025-05-28 03:29:34 +02:00
qquicklistview Release section item when the corresponding view item removed 2025-09-12 22:26:19 +02:00
qquicklistview2 Properly wire up DelegateModel's modelChanged signal 2025-09-12 22:33:57 +02:00
qquickloader Loader: Also drop engine when clearing contexts recursively 2025-07-02 10:37:28 +02:00
qquickmousearea Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickmultipointtoucharea QQuickMultiPointTouchArea: fix grab threshold calculation 2025-06-10 13:25:50 +02:00
qquickpainteditem Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickpalette Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickpath Quick: Fix path element handling 2025-07-08 17:40:03 +00:00
qquickpathview QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qquickpincharea Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickpixmapcache Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickpositioners Positioners: hide zero-width or height items 2025-06-17 18:44:37 +02:00
qquickrectangle Use SKIP_IF_NO_WINDOW_GRAB in more places 2024-12-05 10:21:55 +08:00
qquickrendercontrol Replace deprecated QImage::mirror(ed) with flip(ped) 2024-12-02 11:36:10 +01:00
qquickrepeater Properly wire up DelegateModel's modelChanged signal 2025-09-12 22:33:57 +02:00
qquickrhiitem Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquicksafearea Make SafeArea.additionalMargins actually add to the margins, not union 2025-01-18 21:36:17 +01:00
qquickscreen Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickshadereffect Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickshortcut Harden namespacing 2025-08-08 21:25:55 +08:00
qquicksmoothedanimation Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickspringanimation QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qquickspritesequence Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickstates Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickstyledtext Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquicksystempalette Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquicktableview QmlModels: Signal list model changes also via QQmlTableInstanceModel 2025-09-15 20:08:03 +02:00
qquicktext Unblacklist tst_qquicktext::fontSizeMode on openSUSE 42.1 2025-05-08 08:36:14 +02:00
qquicktextdocument Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquicktextedit Stabilize tst_QQuickTextEdit::inFlickableTouch on openSuSE 15.6 2025-09-01 13:32:51 +00:00
qquicktextinput Remove request for activation tst_QQuickTextInput::mouseSelectionMode 2025-08-20 18:47:56 +00:00
qquicktextmetrics Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquicktimeline Correct license for test files 2024-02-27 10:32:21 +01:00
qquicktransform Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquicktreeview QtQuick: Add delegateModelAccess test for QQuickTreeView 2025-09-15 14:55:24 +02:00
qquickview QML: Warn about relative QRC path 2025-01-28 08:56:00 +01:00
qquickview_extra Add Qt::Qml before Qt::QmlPrivate to auto tests 2024-10-22 01:27:15 +03:00
qquickvisualdatamodel QQmlDelegateModel: Drop FINAL from some properties 2025-09-11 14:18:59 +02:00
qquickwindow Remove tst_QQuickWindow::openglContextCreatedSignal from blacklist 2025-08-07 12:47:05 +00:00
qquickwindowcontainer QQuickWindowContainer: Give focus to embedded window on FocusIn event 2024-12-12 18:20:55 +01:00
rendernode Make sure to setup viewport and scissors also for RenderNodes 2025-08-18 09:47:16 +02:00
scenegraph QSGThreadedRenderLoop: Handle window hiding at polish step 2025-08-14 12:06:22 +03:00
sharedimage Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
softwarerenderer Mark software renderer dirty when render target changed 2024-08-07 10:20:19 +08:00
touchmouse tst_TouchMouse::pinchOnFlickable: bump defaultTryTimeout to 2 seconds 2025-08-31 15:41:45 +08:00
CMakeLists.txt Tests: ommit accessibility tests based on config 2025-06-12 08:18:24 +00:00