Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickbasicstyle_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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#ifndef QQUICKBASICSTYLE_P_H
5#define QQUICKBASICSTYLE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qobject.h>
19#include <QtGui/qcolor.h>
20#include <QtQml/qqml.h>
21#include <QtCore/private/qglobal_p.h>
22
24
26{
31 Q_PROPERTY(QColor textColor READ textColor CONSTANT FINAL)
32 Q_PROPERTY(QColor textDarkColor READ textDarkColor CONSTANT FINAL)
34 Q_PROPERTY(QColor textLinkColor READ textLinkColor CONSTANT FINAL)
39 Q_PROPERTY(QColor focusColor READ focusColor CONSTANT FINAL)
42 Q_PROPERTY(QColor buttonColor READ buttonColor CONSTANT FINAL)
51 Q_PROPERTY(QColor delegateColor READ delegateColor CONSTANT FINAL)
71
72public:
73 explicit QQuickBasicStyle(QObject *parent = nullptr);
74
75 QColor backgroundColor() const;
77 QColor overlayDimColor() const;
78 QColor textColor() const;
79 QColor textDarkColor() const;
80 QColor textLightColor() const;
81 QColor textLinkColor() const;
86 QColor focusColor() const;
87 QColor focusLightColor() const;
89 QColor buttonColor() const;
94 QColor toolButtonColor() const;
95 QColor tabButtonColor() const;
98 QColor delegateColor() const;
106 QColor frameDarkColor() const;
107 QColor frameLightColor() const;
108 QColor scrollBarColor() const;
110 QColor progressBarColor() const;
112 QColor separatorColor() const;
115};
116
118
119#endif // QQUICKBASICSTYLE_P_H
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
QColor tabButtonCheckedPressedColor
Combined button and popup list for selecting options.
#define QML_NAMED_ELEMENT(NAME)
#define QML_SINGLETON
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT