diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-09-22 13:45:07 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-09-23 05:15:17 +0000 |
commit | b16b3cbd24aa6c412a4441a12895804b54526659 (patch) | |
tree | be5ff62e6a45f4ded5461f04b823409085d95071 /src/imports/controls/doc/src | |
parent | 6ed3b0f10fb6b72819b58e9558aa191830aadfcd (diff) |
Doc: improve the .conf docs
Change-Id: I4aa031fb14b232c102e94c5a5f1c5be2885ed2d4
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/doc/src')
-rw-r--r-- | src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc index 1ad0c228..d63cbe69 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc @@ -135,9 +135,9 @@ The configuration file can specify the preferred style (may be overridden by either of the methods described earlier) and certain style-specific attributes. The following example specifies that the preferred style is the Material style. Furthermore, when the - application is run with the Material style, its theme is light and the accent color is - brown. However, if the application is run with the Universal style instead, the theme - is dark and the accent color is red. + application is run with the Material style, its theme is light and the accent and primary + colors are teal and blue grey, respectively. However, if the application is run with the + Universal style instead, the theme is dark and the accent color is red. \code [Controls] @@ -149,7 +149,8 @@ [Material] Theme=Light - Accent=Brown + Accent=Teal + Primary=BlueGrey \endcode In order to make it possible for Qt Quick Controls 2 to find the configuration file, |