aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src/includes/qquickmaterialstyle.qdocinc
blob: 72c97bb63937c58109a28b22c4bb750079ef89df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//! [conf]
\table
    \header
        \li Variable
        \li Description
    \row
        \li \c Theme
        \li Specifies the default \l {material-theme-attached-prop}{Material theme}.
            The value can be one of the available themes, for example \c "Dark".
    \row
        \li \c Variant
        \li Specifies the Material variant. The Material Design has two
            variants: a normal variant designed for touch devices, and a dense
            variant for desktop. The dense variant uses smaller sizes for
            controls and their fonts.

            The value can be \c "Normal" or \c "Dense".
    \row
        \li \c Accent
        \li Specifies the default \l {material-accent-attached-prop}{Material accent color}.
            The value can be any \l {colorbasictypedocs}{color}, but it is recommended to use
            one of the \l {pre-defined Material colors}, for example \c "Teal".
    \row
        \li \c Primary
        \li Specifies the default \l {material-primary-attached-prop}{Material primary color}.
            The value can be any \l {colorbasictypedocs}{color}, but it is recommended to use
            one of the \l {pre-defined Material colors}, for example \c "BlueGrey".
    \row
        \li \c Foreground
        \li Specifies the default \l {material-foreground-attached-prop}{Material foreground color}.
            The value can be any \l {colorbasictypedocs}{color}, or one of the \l {pre-defined Material colors},
            for example \c "Brown".
    \row
        \li \c Background
        \li Specifies the default \l {material-background-attached-prop}{Material background color}.
            The value can be any \l {colorbasictypedocs}{color}, or one of the \l {pre-defined Material colors},
            for example \c "Grey".
\endtable
//! [conf]

//! [env]
\table
    \header
        \li Variable
        \li Description
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_THEME
        \li Specifies the default \l {material-theme-attached-prop}{Material theme}.
            The value can be one of the available themes, for example \c "Dark".
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_VARIANT
        \li Specifies the Material variant. The Material Design has two
            variants: a normal variant designed for touch devices, and a dense
            variant for desktop. The dense variant uses smaller sizes for
            controls and their fonts.

            The value can be \c "Normal" or \c "Dense".
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_ACCENT
        \li Specifies the default \l {material-accent-attached-prop}{Material accent color}.
            The value can be any \l {colorbasictypedocs}{color}, but it is recommended to use
            one of the \l {pre-defined Material colors}, for example \c "Teal".
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_PRIMARY
        \li Specifies the default \l {material-primary-attached-prop}{Material primary color}.
            The value can be any \l {colorbasictypedocs}{color}, but it is recommended to use
            one of the \l {pre-defined Material colors}, for example \c "BlueGrey".
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_FOREGROUND
        \li Specifies the default \l {material-foreground-attached-prop}{Material foreground color}.
            The value can be any \l {colorbasictypedocs}{color}, or one of the \l {pre-defined Material colors},
            for example \c "Brown".
    \row
        \li \c QT_QUICK_CONTROLS_MATERIAL_BACKGROUND
        \li Specifies the default \l {material-background-attached-prop}{Material background color}.
            The value can be any \l {colorbasictypedocs}{color}, or one of the \l {pre-defined Material colors},
            for example \c "Grey".
\endtable
//! [env]