4827623acb
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> |
||
---|---|---|
.. | ||
addressbook | ||
basicsortfiltermodel | ||
chart | ||
coloreditorfactory | ||
combowidgetmapper | ||
customsortfiltermodel | ||
dirview | ||
editabletreemodel | ||
fetchmore | ||
frozencolumn | ||
interview | ||
pixelator | ||
puzzle | ||
simpledommodel | ||
simpletreemodel | ||
simplewidgetmapper | ||
spinboxdelegate | ||
spreadsheet | ||
stardelegate | ||
itemviews.pro | ||
README |
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.