1 | // Copyright (C) 2017 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qquickbasicstyle_p.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | QQuickBasicStyle::QQuickBasicStyle(QObject *parent) : |
9 | QObject(parent) |
10 | { |
11 | } |
12 | |
13 | QColor QQuickBasicStyle::backgroundColor() const |
14 | { |
15 | return QColor::fromRgba(rgba: 0xFFFFFFFF); |
16 | } |
17 | |
18 | QColor QQuickBasicStyle::overlayModalColor() const |
19 | { |
20 | return QColor::fromRgba(rgba: 0x7F28282A); |
21 | } |
22 | |
23 | QColor QQuickBasicStyle::overlayDimColor() const |
24 | { |
25 | return QColor::fromRgba(rgba: 0x1F28282A); |
26 | } |
27 | |
28 | QColor QQuickBasicStyle::textColor() const |
29 | { |
30 | return QColor::fromRgba(rgba: 0xFF353637); |
31 | } |
32 | |
33 | QColor QQuickBasicStyle::textDarkColor() const |
34 | { |
35 | return QColor::fromRgba(rgba: 0xFF26282A); |
36 | } |
37 | |
38 | QColor QQuickBasicStyle::textLightColor() const |
39 | { |
40 | return QColor::fromRgba(rgba: 0xFFFFFFFF); |
41 | } |
42 | |
43 | QColor QQuickBasicStyle::textLinkColor() const |
44 | { |
45 | return QColor::fromRgba(rgba: 0xFF45A7D7); |
46 | } |
47 | |
48 | QColor QQuickBasicStyle::textSelectionColor() const |
49 | { |
50 | return QColor::fromRgba(rgba: 0xFFFDDD5C); |
51 | } |
52 | |
53 | QColor QQuickBasicStyle::textDisabledColor() const |
54 | { |
55 | return QColor::fromRgba(rgba: 0xFFBDBEBF); |
56 | } |
57 | |
58 | QColor QQuickBasicStyle::textDisabledLightColor() const |
59 | { |
60 | return QColor::fromRgba(rgba: 0xFFC2C2C2); |
61 | } |
62 | |
63 | QColor QQuickBasicStyle::textPlaceholderColor() const |
64 | { |
65 | return QColor::fromRgba(rgba: 0xFF777777); |
66 | } |
67 | |
68 | QColor QQuickBasicStyle::focusColor() const |
69 | { |
70 | return QColor::fromRgba(rgba: 0xFF0066FF); |
71 | } |
72 | |
73 | QColor QQuickBasicStyle::focusLightColor() const |
74 | { |
75 | return QColor::fromRgba(rgba: 0xFFF0F6FF); |
76 | } |
77 | |
78 | QColor QQuickBasicStyle::focusPressedColor() const |
79 | { |
80 | return QColor::fromRgba(rgba: 0xFFCCE0FF); |
81 | } |
82 | |
83 | QColor QQuickBasicStyle::buttonColor() const |
84 | { |
85 | return QColor::fromRgba(rgba: 0xFFE0E0E0); |
86 | } |
87 | |
88 | QColor QQuickBasicStyle::buttonPressedColor() const |
89 | { |
90 | return QColor::fromRgba(rgba: 0xFFD0D0D0); |
91 | } |
92 | |
93 | QColor QQuickBasicStyle::buttonCheckedColor() const |
94 | { |
95 | return QColor::fromRgba(rgba: 0xFF353637); |
96 | } |
97 | |
98 | QColor QQuickBasicStyle::buttonCheckedPressedColor() const |
99 | { |
100 | return QColor::fromRgba(rgba: 0xFF585A5C); |
101 | } |
102 | |
103 | QColor QQuickBasicStyle::buttonCheckedFocusColor() const |
104 | { |
105 | return QColor::fromRgba(rgba: 0xFF599BFF); |
106 | } |
107 | |
108 | QColor QQuickBasicStyle::toolButtonColor() const |
109 | { |
110 | return QColor::fromRgba(rgba: 0x33333333); |
111 | } |
112 | |
113 | QColor QQuickBasicStyle::tabButtonColor() const |
114 | { |
115 | return QColor::fromRgba(rgba: 0xFF353637); |
116 | } |
117 | |
118 | QColor QQuickBasicStyle::tabButtonPressedColor() const |
119 | { |
120 | return QColor::fromRgba(rgba: 0xFF585A5C); |
121 | } |
122 | |
123 | QColor QQuickBasicStyle::tabButtonCheckedPressedColor() const |
124 | { |
125 | return QColor::fromRgba(rgba: 0xFFE4E4E4); |
126 | } |
127 | |
128 | QColor QQuickBasicStyle::delegateColor() const |
129 | { |
130 | return QColor::fromRgba(rgba: 0xFFEEEEEE); |
131 | } |
132 | |
133 | QColor QQuickBasicStyle::delegatePressedColor() const |
134 | { |
135 | return QColor::fromRgba(rgba: 0xFFBDBEBF); |
136 | } |
137 | |
138 | QColor QQuickBasicStyle::delegateFocusColor() const |
139 | { |
140 | return QColor::fromRgba(rgba: 0xFFE5EFFF); |
141 | } |
142 | |
143 | QColor QQuickBasicStyle::indicatorPressedColor() const |
144 | { |
145 | return QColor::fromRgba(rgba: 0xFFF6F6F6); |
146 | } |
147 | |
148 | QColor QQuickBasicStyle::indicatorDisabledColor() const |
149 | { |
150 | return QColor::fromRgba(rgba: 0xFFFDFDFD); |
151 | } |
152 | |
153 | QColor QQuickBasicStyle::indicatorFrameColor() const |
154 | { |
155 | return QColor::fromRgba(rgba: 0xFF909090); |
156 | } |
157 | |
158 | QColor QQuickBasicStyle::indicatorFramePressedColor() const |
159 | { |
160 | return QColor::fromRgba(rgba: 0xFF808080); |
161 | } |
162 | |
163 | QColor QQuickBasicStyle::indicatorFrameDisabledColor() const |
164 | { |
165 | return QColor::fromRgba(rgba: 0xFFD6D6D6); |
166 | } |
167 | |
168 | QColor QQuickBasicStyle::frameDarkColor() const |
169 | { |
170 | return QColor::fromRgba(rgba: 0xFF353637); |
171 | } |
172 | |
173 | QColor QQuickBasicStyle::frameLightColor() const |
174 | { |
175 | return QColor::fromRgba(rgba: 0xFFBDBEBF); |
176 | } |
177 | |
178 | QColor QQuickBasicStyle::scrollBarColor() const |
179 | { |
180 | return QColor::fromRgba(rgba: 0xFFBDBEBF); |
181 | } |
182 | |
183 | QColor QQuickBasicStyle::scrollBarPressedColor() const |
184 | { |
185 | return QColor::fromRgba(rgba: 0xFF28282A); |
186 | } |
187 | |
188 | QColor QQuickBasicStyle::progressBarColor() const |
189 | { |
190 | return QColor::fromRgba(rgba: 0xFFE4E4E4); |
191 | } |
192 | |
193 | QColor QQuickBasicStyle::pageIndicatorColor() const |
194 | { |
195 | return QColor::fromRgba(rgba: 0xFF28282A); |
196 | } |
197 | |
198 | QColor QQuickBasicStyle::separatorColor() const |
199 | { |
200 | return QColor::fromRgba(rgba: 0xFFCCCCCC); |
201 | } |
202 | |
203 | QColor QQuickBasicStyle::disabledDarkColor() const |
204 | { |
205 | return QColor::fromRgba(rgba: 0xFF353637); |
206 | } |
207 | |
208 | QColor QQuickBasicStyle::disabledLightColor() const |
209 | { |
210 | return QColor::fromRgba(rgba: 0xFFBDBEBF); |
211 | } |
212 | |
213 | QT_END_NAMESPACE |
214 | |
215 | #include "moc_qquickbasicstyle_p.cpp" |
216 |