qt5base-lts/examples/widgets/itemviews
Christian Ehrlicher c7f59cad19 Examples: fix compile without printsupport
Checking for QT_CONFIG(printdialog) is not enough when printsupport is
completely disabled since then the macro will throw an error. Therefore
add an additional check 'defined(QT_PRINTSUPPORT_LIB)' before using the
QT_CONFIG macro.

Fixes: QTBUG-81626
Change-Id: Ie9898f057cdd6bf9daf4ba9135987cb6e901e7bf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-01-31 06:23:58 +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 Cleanup Itemviews examples 2018-12-17 19:50:38 +00:00
combowidgetmapper qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
customsortfiltermodel Change examples and snippets to pass QDate and QTime by value 2020-01-30 13:32:57 +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 Examples: fix compile without printsupport 2020-01-31 06:23:58 +01: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 Fix some deprecation warnings in examples 2019-02-06 22:12:23 +00: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.