blob: a92af42e21cf90af26955dcdfe872033c2b19be9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "qquickwindowsfocusframe.h"
#include <QtQml/qqmlcomponent.h>
QT_BEGIN_NAMESPACE
QQuickItem *QQuickWindowsFocusFrame::createFocusFrame(QQmlContext *context)
{
QQmlComponent component(context->engine(),
QUrl(QStringLiteral("qrc:/qt-project.org/imports/QtQuick/NativeStyle/util/WindowsFocusFrame.qml")));
return qobject_cast<QQuickItem *>(component.create());
}
QT_END_NAMESPACE
|