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
qquickfocusframe.h
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#ifndef QQUICKFOCUSFRAME_H
5#define QQUICKFOCUSFRAME_H
6
7#include <QtQuick/qquickitem.h>
8#include "qquickstyleitem.h"
9
11
13
17 const qreal radius = 3;
18 bool isValid() const { return target != nullptr; }
20};
21
23{
25
26public:
28
29private:
30 static QScopedPointer<QQuickItem> m_focusFrame;
31
33 void moveToItem(QQuickItem *item);
34 QQuickFocusFrameDescription getDescriptionForItem(QQuickItem *focusItem) const;
35};
36
38
39#endif // QQUICKFOCUSFRAME_H
\inmodule QtCore
Definition qobject.h:103
The QQmlContext class defines a context within a QML engine.
Definition qqmlcontext.h:25
virtual QQuickItem * createFocusFrame(QQmlContext *context)=0
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:63
Combined button and popup list for selecting options.
static void * context
#define Q_DECLARE_LOGGING_CATEGORY(name)
@ Invalid
GLenum target
#define Q_OBJECT
double qreal
Definition qtypes.h:187
QGraphicsItem * item