Qt Declarative (Quick 2)
Go to file
Richard Moe Gustavsen 6bc4d55fe1 QQuickTableView: support assigning a DelegateModel
Normally you either assign a model to TableView that
already has a delegate (or don't need one), like
DelegateModel or ObjectModel. Or instead you assign
a QAIM model and a delegate directly. But if you
assign both a delegate and an ObjectModel, TableView
would be confused, and ignore the assigned model
and instead create an internal wrapper model that
ends up empty.

This patch will ensure that we don't create a wrapper
model in such cases, but instead forward the
delegate to whichever model is assigned, even
if it ends up as a no-op for models that don't
use one.

Task-number: QTBUG-80534
Change-Id: Idd220df08617c379dc7808ee1f41c862b78cc201
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-12-09 14:16:07 +01:00
config.tests/d3d12 D3D12: Support translucent windows via DirectComposition 2016-07-14 13:05:13 +00:00
dist Add changes file for Qt 5.13.2 2019-10-17 06:17:52 +02:00
examples fix rendernode example build 2019-11-12 09:23:24 +10:00
features Add the skeleton for a D3D12 backend 2016-02-19 14:51:37 +00:00
src QQuickTableView: support assigning a DelegateModel 2019-12-09 14:16:07 +01:00
tests QQuickTableView: support assigning a DelegateModel 2019-12-09 14:16:07 +01:00
tools qmllint: fix typo 2019-10-24 13:36:38 +02:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Add .qmake.stash to .gitignore 2019-05-03 08:46:51 +00:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.qmake.conf Bump version 2019-10-14 09:41:32 +02:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPL2 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3-EXCEPT Updated license headers 2016-01-20 11:46:25 +00:00
LICENSE.LGPL3 Updated license headers 2016-01-19 14:53:18 +00:00
configure.json Move model types into their own library 2019-05-02 09:26:04 +00:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00
qtdeclarative.pro Convert qtdeclarative over to use the new configure system 2016-10-10 14:11:39 +00:00
sync.profile Move the header checking into ExecutableCompilationUnit 2019-06-14 19:08:51 +02:00