9d23aebb27
It should be easier to translate sizes in bytes to human-readable strings consistently rather than having to repeat this code (and the string translations) in various places. The FileDialog in QtQuick.Controls has a use for this, too. [ChangeLog][QtCore][QLocale] Added QLocale::formattedDataSize() for formatting quantities of bytes as kB, MB, GB etc. Done-with: Edward Welbourne <edward.welbourne@qt.io> Change-Id: I27bca146c3eba90fa7a5d52ef6626ce85723e3f0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
---|---|---|
.. | ||
addressbook | ||
basicsortfiltermodel | ||
chart | ||
coloreditorfactory | ||
combowidgetmapper | ||
customsortfiltermodel | ||
dirview | ||
editabletreemodel | ||
fetchmore | ||
frozencolumn | ||
interview | ||
pixelator | ||
puzzle | ||
simpledommodel | ||
simpletreemodel | ||
simplewidgetmapper | ||
spinboxdelegate | ||
spreadsheet | ||
stardelegate | ||
storageview | ||
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.