qt5base-lts/examples/widgets/itemviews
Shawn Rutledge 9d23aebb27 Add QLocale::formattedDataSize and consolidate use cases
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>
2017-06-20 09:53:14 +00:00
..
addressbook Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
basicsortfiltermodel examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
chart Examples: use std::atan2 for simper angle calculations 2017-02-23 16:43:35 +00:00
coloreditorfactory Unify license header usage. 2016-03-29 10:20:03 +00:00
combowidgetmapper Unify license header usage. 2016-03-29 10:20:03 +00:00
customsortfiltermodel Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
dirview Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
editabletreemodel Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
fetchmore Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
frozencolumn Examples: Remove a redundant virtual specifier for overriders 2016-11-25 22:36:21 +00:00
interview Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
pixelator Convert features.printdialog to QT_[REQUIRE_]CONFIG 2017-05-30 17:21:26 +00:00
puzzle Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
simpledommodel Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
simpletreemodel Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
simplewidgetmapper Unify license header usage. 2016-03-29 10:20:03 +00:00
spinboxdelegate Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
spreadsheet Convert features.printdialog to QT_[REQUIRE_]CONFIG 2017-05-30 17:21:26 +00:00
stardelegate Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
storageview Add QLocale::formattedDataSize and consolidate use cases 2017-06-20 09:53:14 +00:00
itemviews.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +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.