Commit Graph

4 Commits

Author SHA1 Message Date
Christian Stenger
f05477dc39 Core: Propagate dataChanged signal
If the ListModel needs to emit dataChanged signals
ensure they will be handled correctly.

Change-Id: I2a543737ca442819fc4d3dead15108cb3a00765d
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-01-23 08:42:54 +00:00
Christian Stenger
5353532fa2 Core: Handle editor event only for real items
Rows which do not fill an entire row are treated
as if they contained empty placeholder items.
Do not try to handle these as the item data for
these will be a nullptr.

Change-Id: Ia9420aeafe3e2a0a3f7d29208ad21c81e52ac81a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-22 06:32:49 +00:00
Christian Stenger
f2351b06e0 QtSupport: Extract welcome page list model handling
...and move it to Core.
Preparation for easier re-usage to avoid re-implementing
the same more often.

Change-Id: I4c902e74e63dd5416f2a52b4b08900e28e2a052a
Reviewed-by: hjk <hjk@qt.io>
2020-01-20 12:27:05 +00:00
Christian Stenger
a7f55ff566 QtSupport: Extract and move welcomepage helper to Core
Change-Id: I32798e8f3b5cdef6e256de542714be80cc8aa9e3
Reviewed-by: hjk <hjk@qt.io>
2020-01-20 09:10:42 +00:00