Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickwindowattached_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
5
#
ifndef
QQUICKWINDOW_ATTACHED_P_H
6
#
define
QQUICKWINDOW_ATTACHED_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
private
/
qtquickglobal_p
.
h
>
20
#
include
<
qqml
.
h
>
21
#
include
<
QWindow
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickItem;
26
class
QQuickWindow;
27
28
class
Q_QUICK_EXPORT
QQuickWindowAttached
:
public
QObject
29
{
30
Q_OBJECT
31
32
Q_PROPERTY(QWindow::Visibility visibility READ visibility NOTIFY visibilityChanged FINAL)
33
Q_PROPERTY(
bool
active READ isActive NOTIFY activeChanged FINAL)
34
Q_PROPERTY(QQuickItem* activeFocusItem READ activeFocusItem NOTIFY activeFocusItemChanged FINAL)
35
Q_PROPERTY(QQuickItem* contentItem READ contentItem NOTIFY contentItemChanged FINAL)
36
Q_PROPERTY(
int
width READ width NOTIFY widthChanged FINAL)
37
Q_PROPERTY(
int
height READ height NOTIFY heightChanged FINAL)
38
Q_PROPERTY(QQuickWindow *window READ window NOTIFY windowChanged FINAL)
39
QML_ANONYMOUS
40
QML_ADDED_IN_VERSION(2, 0)
41
42
public
:
43
QQuickWindowAttached(QObject* attachee);
44
45
QWindow::Visibility visibility()
const
;
46
bool
isActive()
const
;
47
QQuickItem* activeFocusItem()
const
;
48
QQuickItem* contentItem()
const
;
49
int
width()
const
;
50
int
height()
const
;
51
QQuickWindow *window()
const
;
52
53
Q_SIGNALS:
54
55
void
visibilityChanged();
56
void
activeChanged();
57
void
activeFocusItemChanged();
58
void
contentItemChanged();
59
void
widthChanged();
60
void
heightChanged();
61
void
windowChanged();
62
63
protected
Q_SLOTS:
64
void
windowChange(QQuickWindow*);
65
66
private
:
67
QQuickWindow* m_window;
68
QQuickItem* m_attachee;
69
};
70
71
QT_END_NAMESPACE
72
73
#
endif
QQuickWindowAttached
Definition
qquickwindowattached_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
quick
items
qquickwindowattached_p.h
Generated on
for Qt by
1.18.0