aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/contactlist/doc/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-21 15:54:55 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-22 08:05:52 +0000
commit2c6553fa5ea19e7861b31587ac879da83ebb0925 (patch)
treeaaf60a39e471312d1ed5c34875efd4f42a5936ae /examples/quickcontrols2/contactlist/doc/src
parent994319a35eac6c9574068f1d37a993f587c771da (diff)
Overhaul the Contact List example - part II
Move the Edit and Remove buttons from the delegate to a context menu that is triggered on press-and-hold. Get rid of a lot of custom font sizes and hardcoded geometries. This ensures that the example looks sensible on all platforms, styles, scale factors, system fonts... Change-Id: If03f917c98b71c93be9292117116e9fa48e3e6fe Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/contactlist/doc/src')
-rw-r--r--examples/quickcontrols2/contactlist/doc/src/qtquickcontrols2-contactlist.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/contactlist/doc/src/qtquickcontrols2-contactlist.qdoc b/examples/quickcontrols2/contactlist/doc/src/qtquickcontrols2-contactlist.qdoc
index 2b4de68b..17e1aec2 100644
--- a/examples/quickcontrols2/contactlist/doc/src/qtquickcontrols2-contactlist.qdoc
+++ b/examples/quickcontrols2/contactlist/doc/src/qtquickcontrols2-contactlist.qdoc
@@ -36,9 +36,9 @@
For the declarative parts of the UI, .ui.qml files are used that can be edited
visually in the Qt Quick Designer.
- \section1 C++ Backend
+ \image qtquickcontrols2-contactlist.png
- \borderedimage qtquickcontrols2-contactlist.png
+ \section1 C++ Backend
The contact list application allows the user to add, edit, and remove contacts.
The actual implementation is done in C++ and exposed as a QAbstractListModel.