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
65
66
67
68
69
70
71
74
75
76
77
78
79
80
83
84
85
86
87
88
89
92
93
94
95
96
97
98
101
102
103
104
105
106
107
110
111
112
113
114
115
116
117
120
121
122
123
124
125
126
127
128
129
130
133 : QQStyleKitControlProperties(QQSK::PropertyGroup::Control, parent)
139 if (m_nestedState == QQSK::StateFlag::Normal) {
142 return static_cast<QQStyleKitControl *>(self);
150 if (m_nestedStateObjects.contains(state))
151 return m_nestedStateObjects.value(state);
154 stateObj->m_nestedState = m_nestedState;
155 stateObj->m_nestedState.setFlag(state);
156 stateObj->m_nestedState.setFlag(QQSK::StateFlag::Normal,
false);
159 self->m_nestedStateObjects.insert(state, stateObj);
166 return lazyCreateState(QQSK::StateFlag::Pressed);
171 return lazyCreateState(QQSK::StateFlag::Hovered);
176 return lazyCreateState(QQSK::StateFlag::Highlighted);
181 return lazyCreateState(QQSK::StateFlag::Focused);
186 return lazyCreateState(QQSK::StateFlag::Checked);
191 return lazyCreateState(QQSK::StateFlag::Vertical);
196 return lazyCreateState(QQSK::StateFlag::Disabled);
201#include "moc_qqstylekitcontrolstate_p.cpp"
QQStyleKitControlState * checked() const
QQStyleKitControlState * hovered() const
QQStyleKitControlState * vertical() const
QQStyleKitControl * control() const
QQStyleKitControlState * disabled() const
QQStyleKitControlState * focused() const
QQStyleKitControlState * pressed() const
QQStyleKitControlState * highlighted() const
Combined button and popup list for selecting options.