1// Copyright (C) 2024 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 QQUICKFLUENTWINUI3FOCUSFRAME_H
5#define QQUICKFLUENTWINUI3FOCUSFRAME_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 <QtQuickTemplates2/private/qquickcontrol_p.h>
17
18QT_BEGIN_NAMESPACE
19
20class QQuickFluentWinUI3FocusFrame : public QObject
21{
22 Q_OBJECT
23
24public:
25 QQuickFluentWinUI3FocusFrame();
26
27private:
28 static QScopedPointer<QQuickItem> m_focusFrame;
29
30 QQuickItem *createFocusFrame(QQmlContext *context);
31 void moveToItem(QQuickControl *item);
32 QQuickControl *getFocusTarget(QQuickControl *focusItem) const;
33};
34
35QT_END_NAMESPACE
36
37#endif // QQUICKFLUENTWINUI3FOCUSFRAME_H
38

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtdeclarative/src/quickcontrols/fluentwinui3/qquickfluentwinui3focusframe_p.h