aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Karlsson <jonas.karlsson@qt.io>2020-08-05 15:12:38 +0200
committerJonas Karlsson <jonas.karlsson@qt.io>2020-09-08 10:03:54 +0200
commitfacefb5f099b9fbe6d8ded48d786b709de8eeb4e (patch)
treeb2254723c162db468b5b5cbe29cbe81dad1e9e9e
parent37daab473ab724df538baeff1c4214f902edb41e (diff)
Use OpenType font weights
Task-number: QTBUG-42248 Change-Id: I75f3e0d5ddf847bfb6a4ebb197ab1691909681c4 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-configuration.qdoc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-configuration.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-configuration.qdoc
index 8caa392f..7790ddc5 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-configuration.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-configuration.qdoc
@@ -138,12 +138,11 @@
\c OldEnglish, \c Decorative, \c Monospace, \c Fantasy, \c Cursive.
\row
\li \c Weight
- \li The \l {QFont::}{weight}. Qt uses a weighting scale from \c 0 to \c 99 similar to,
- but not the same as, the scales used in Windows or CSS. A weight of \c 0 will be thin,
- whilst \c 99 will be extremely black.
- Available pre-defined weights: \c Thin (0), \c ExtraLight (12), \c Light (25), \c Normal (50),
- \c Medium (57), \c DemiBold (63), \c Bold (75), \c ExtraBold (81),
- \c Black (87).
+ \li The \l {QFont::}{weight}. Qt uses a weighting scale from \c 1 to \c 1000 compatible with OpenType. A weight of \c 1 will be thin,
+ whilst \c 1000 will be extremely black.
+ Available pre-defined weights: \c Thin (100), \c ExtraLight (200), \c Light (300), \c Normal (400),
+ \c Medium (500), \c DemiBold (600), \c Bold (700), \c ExtraBold (800),
+ \c Black (900).
\row
\li \c Style
\li The \l {QFont::}{style}.