In the Addressbook example, any entry whose name doesn't start with a letter will not appear in any of the categories, but it will still exist. These entries would make the "There are currently no contacts in your address book" page disappear even when no entries could be found in the categories. Check if a new entry has a name that doesn't start with a letter, and if so, don't add it as a contact. Also, notify user that names must start with a letter when this happens. Fixes: QTBUG-124254 Pick-to: 6.6 6.5 6.2 Change-Id: I7f25711785ec7a82852a0f37d9f096cc3af41576 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit c3fa43513e32c5bd8c0ee9d703119a545a5b8bc6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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.