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

source code of qtdeclarative/src/quickcontrols/basic/qquickbasicstyle.cpp