diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-09-15 16:25:40 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-11-02 11:58:50 +0000 |
commit | f24a76bea9bf033e6f2eea70ea9cdb43cdb8f6f9 (patch) | |
tree | 87532b68cf7f0e62cea8d790f35894b039537ce3 /examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc | |
parent | 05ba72454de8b1d4aaec304931c96d41b81ac9d2 (diff) |
Wearable Demo: make use of the icon support
Change-Id: I7a691f7b7c3d2f2a9f1d9a1ded29269184ddfcfe
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc')
-rw-r--r-- | examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc b/examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc index 7d4a6a23..124984c1 100644 --- a/examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc +++ b/examples/quickcontrols2/wearable/doc/src/qtquickcontrols2-wearable.qdoc @@ -99,6 +99,21 @@ \skipto } \printuntil /^\}/ + \section1 Icons + + The demo ships a custom icon theme. The icons are bundled into the \c :/icons + folder in the application's resources. The \c index.theme file lists the contents + of the icon theme: + + \quotefile wearable/icons/wearable/index.theme + + Finally, the icon theme is selected in \c main(): + + \snippet wearable/wearable.cpp icons + + The icons are used on the Launcher Page, which is presented below. See + \l {Icons in Qt Quick Controls 2} for more details about icons and themes. + \section1 Launcher Page The application launcher is implemented using a circular PathView in @@ -116,6 +131,9 @@ \skipto "Settings" \printuntil delegate: \dots 8 + \skipto icon.width + \printuntil icon.name + \dots 8 \skipto onClicked: \printto path: \dots |