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

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