Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickfusiondial_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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKFUSIONDIAL_P_H
6
#
define
QQUICKFUSIONDIAL_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtGui
/
qcolor
.
h
>
20
#
include
<
QtQuick
/
qquickpainteditem
.
h
>
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickFusionDial :
public
QQuickPaintedItem
26
{
27
Q_OBJECT
28
Q_PROPERTY(
bool
highlight READ highlight WRITE setHighlight FINAL)
29
Q_PROPERTY(QColor buttonColor READ buttonColor WRITE setButtonColor REVISION(6, 13))
30
Q_PROPERTY(QColor highlightColor READ highlightColor WRITE setHighlightColor REVISION(6, 13))
31
QML_NAMED_ELEMENT(DialImpl)
32
QML_ADDED_IN_VERSION(2, 3)
33
34
public
:
35
explicit
QQuickFusionDial(QQuickItem *parent =
nullptr
);
36
37
bool
highlight()
const
;
38
void
setHighlight(
bool
highlight);
39
40
QColor buttonColor()
const
;
41
void
setButtonColor(
const
QColor &color);
42
43
QColor highlightColor()
const
;
44
void
setHighlightColor(
const
QColor &color);
45
46
void
paint(QPainter *painter) override;
47
48
private
:
49
bool
m_highlight =
false
;
50
QColor m_buttonColor;
51
QColor m_highlightColor;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
// QQUICKFUSIONDIAL_P_H
QObjectData::parent
QObject * parent
Definition
qobject.h:74
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:64
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
quickcontrols
fusion
impl
qquickfusiondial_p.h
Generated on
for Qt by
1.18.0