qt5base-lts/examples/widgets/itemviews
Olivier Goffart 73d1476fb1 Replace most use of QVariant::type and occurrences of QVariant::Type
I made a clazy automated check that replaced the use of QVariant::Type
by the equivalent in QMetaType.
This has been deprecated since Qt 5.0, but many uses were not yet removed.

In addition, there was some manual changes to fix the compilation errors.

Adapted the Private API of QDateTimeParser and QMimeDataPrivate
and adjust QDateTimeEdit and QSpinBox.

QVariant(QVariant::Invalid) in qstylesheet made no sense.

But note that in QVariant::save, we actually wanted to use the non-user type.

In the SQL module, many changes were actually reverted because the API
still expects QVarient::Type.

Change-Id: I98c368490e4ee465ed3a3b63bda8b8eaa50ea67e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-01-23 16:46:51 +01:00
..
addressbook Cleanup Addressbook example 2018-12-04 07:00:41 +00:00
basicsortfiltermodel qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
chart Itemviews: Cleanup examples 2018-11-12 13:01:30 +00:00
coloreditorfactory Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
combowidgetmapper qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
customsortfiltermodel Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
dirview Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
editabletreemodel Cleanup EditableItemModel example 2019-01-24 20:31:55 +00:00
fetchmore Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
flattreeview Add QHeaderView::setFirstSectionMovable(), useful for flat treeviews 2018-01-02 09:31:11 +00:00
frozencolumn Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
interview Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
pixelator Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
puzzle Fix some deprecation warnings in examples 2019-02-06 22:12:23 +00:00
simpledommodel Cleanup SimpleDomModel example 2018-12-04 07:00:49 +00:00
simpletreemodel Cleanup SimpleTreeModel example 2019-01-23 15:13:41 +00:00
simplewidgetmapper Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
spinboxdelegate Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
spreadsheet Widget examples: replace QItemDelegate with QStyledItemDelegate 2019-10-28 19:36:32 +02:00
stardelegate Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
storageview Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
itemviews.pro Make sure we can build with -no-feature-draganddrop 2018-05-29 18:31:35 +00:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

Item views are widgets that typically display data sets. Qt 4's model/view
framework lets you handle large data sets by separating the underlying data
from the way it is represented to the user, and provides support for
customized rendering through the use of delegates.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.