qt5base-lts/examples/widgets/itemviews
Topi Reinio 4827623acb Address Book example: Fix QTableView column sorting
Rearrange the code so that QTableView::setSortingEnabled() is
called after setting up the sort filter. This ensures that
new entries added to the model always follow the column
header's sort order.

Task-number: QTBUG-39585
Change-Id: Iaec8aa9342981817a019473ba12bad52cdbdfbb8
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-07-02 08:41:11 +02:00
..
addressbook Address Book example: Fix QTableView column sorting 2014-07-02 08:41:11 +02:00
basicsortfiltermodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
chart Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
coloreditorfactory Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
combowidgetmapper Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
customsortfiltermodel CustomSortFilterModel example: fix build with QT_NO_CURSOR 2014-03-06 12:21:14 +01:00
dirview Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
editabletreemodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
fetchmore Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
frozencolumn Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
interview Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
pixelator expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
puzzle Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
simpledommodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
simpletreemodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
simplewidgetmapper Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
spinboxdelegate Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
spreadsheet QAbstractScrollArea - add SizeAdjustPolicy and viewportSizeHint 2013-04-22 17:56:55 +02:00
stardelegate Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
itemviews.pro remove QT+=widgets from SUBDIRS projects 2012-12-17 14:08:17 +01: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.