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
qquickfluentwinui3focusstroke_p.h
Go to the documentation of this file.
1
2
// Copyright (C) 2024 The Qt Company Ltd.
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
#
ifndef
QQUICKFLUENTWINUI3FOCUSSTROKE_P_H
5
#
define
QQUICKFLUENTWINUI3FOCUSSTROKE_P_H
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
#
include
<
QtGui
/
qcolor
.
h
>
17
#
include
<
QtQuick
/
qquickpainteditem
.
h
>
18
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
19
QT_BEGIN_NAMESPACE
20
class
QQuickFluentWinUI3FocusStroke :
public
QQuickPaintedItem
21
{
22
Q_OBJECT
23
Q_PROPERTY(QColor color READ color WRITE setColor FINAL)
24
Q_PROPERTY(
int
radius READ radius WRITE setRadius FINAL)
25
QML_NAMED_ELEMENT(FocusStroke)
26
QML_ADDED_IN_VERSION(6, 8)
27
public
:
28
explicit
QQuickFluentWinUI3FocusStroke(QQuickItem *parent =
nullptr
);
29
int
radius()
const
;
30
void
setRadius(
int
radius);
31
QColor color()
const
;
32
void
setColor(
const
QColor &color);
33
void
paint(QPainter *painter) override;
34
private
:
35
QColor m_color = Qt::white;
36
int
m_radius;
37
};
38
QT_END_NAMESPACE
39
#
endif
// QQUICKFLUENTWINUI3FOCUSSTROKE_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
fluentwinui3
impl
qquickfluentwinui3focusstroke_p.h
Generated on
for Qt by
1.18.0