Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4
#include "
qquickwindowsfocusframe.h
"
5
6
#include <QtQml/qqmlcomponent.h>
7
8
QT_BEGIN_NAMESPACE
9
10
QQuickItem
*
QQuickWindowsFocusFrame::createFocusFrame
(
QQmlContext
*
context
)
11
{
12
QQmlComponent
component
(
context
->engine(),
13
QUrl
(
QStringLiteral
(
"qrc:/qt-project.org/imports/QtQuick/NativeStyle/util/WindowsFocusFrame.qml"
)));
14
return
qobject_cast<QQuickItem *>
(
component
.create());
15
}
16
17
QT_END_NAMESPACE
QQmlComponent
The QQmlComponent class encapsulates a QML component definition.
Definition
qqmlcomponent.h:32
QQmlContext
The QQmlContext class defines a context within a QML engine.
Definition
qqmlcontext.h:25
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:63
QQuickWindowsFocusFrame::createFocusFrame
virtual QQuickItem * createFocusFrame(QQmlContext *context) override
Definition
qquickwindowsfocusframe.cpp:10
QUrl
\inmodule QtCore
Definition
qurl.h:94
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
context
static void * context
Definition
qandroidaudiosource.cpp:42
component
static qreal component(const QPointF &point, unsigned int i)
Definition
qpathclipper.cpp:626
qobject_cast< QQuickItem * >
QQuickItem * qobject_cast< QQuickItem * >(QObject *o)
Definition
qquickitem.h:492
qquickwindowsfocusframe.h
QStringLiteral
#define QStringLiteral(str)
Definition
qstringliteral.h:36
qtdeclarative
src
quicknativestyle
util
qquickwindowsfocusframe.cpp
Generated by
1.10.0