Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickwindowsfocusframe.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 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
6
7#include <QtQml/qqmlcomponent.h>
8
10
11QQuickItem *QQuickWindowsFocusFrame::createFocusFrame(QQmlContext *context)
12{
13 QQmlComponent component(context->engine(),
14 QUrl(QStringLiteral("qrc:/qt-project.org/imports/QtQuick/NativeStyle/util/WindowsFocusFrame.qml")));
15 return qobject_cast<QQuickItem *>(component.create());
16}
17
18QT_END_NAMESPACE
virtual QQuickItem * createFocusFrame(QQmlContext *context) override