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 QQUICKFUSIONDIAL_P_H
5#define QQUICKFUSIONDIAL_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 <QtQuick/qquickpainteditem.h>
19#include <QtCore/private/qglobal_p.h>
20
21QT_BEGIN_NAMESPACE
22
23class QQuickFusionDial : public QQuickPaintedItem
24{
25 Q_OBJECT
26 Q_PROPERTY(bool highlight READ highlight WRITE setHighlight FINAL)
27 QML_NAMED_ELEMENT(DialImpl)
28 QML_ADDED_IN_VERSION(2, 3)
29
30public:
31 explicit QQuickFusionDial(QQuickItem *parent = nullptr);
32
33 bool highlight() const;
34 void setHighlight(bool highlight);
35
36 void paint(QPainter *painter) override;
37
38private:
39 bool m_highlight = false;
40};
41
42QT_END_NAMESPACE
43
44#endif // QQUICKFUSIONDIAL_P_H
45

source code of qtdeclarative/src/quickcontrols/fusion/impl/qquickfusiondial_p.h