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
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
4
#ifndef QQUICKWINDOW_ATTACHED_P_H
5
#define QQUICKWINDOW_ATTACHED_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <private/qtquickglobal_p.h>
19
#include <
qqml.h
>
20
#include <QWindow>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickItem
;
25
class
QQuickWindow
;
26
27
class
Q_QUICK_EXPORT
QQuickWindowAttached
:
public
QObject
28
{
29
Q_OBJECT
30
31
Q_PROPERTY
(QWindow::Visibility visibility READ visibility NOTIFY visibilityChanged FINAL)
32
Q_PROPERTY
(
bool
active READ
isActive
NOTIFY activeChanged FINAL)
33
Q_PROPERTY
(
QQuickItem
* activeFocusItem READ activeFocusItem NOTIFY activeFocusItemChanged FINAL)
34
Q_PROPERTY
(
QQuickItem
* contentItem READ contentItem NOTIFY contentItemChanged FINAL)
35
Q_PROPERTY
(
int
width
READ
width
NOTIFY widthChanged FINAL)
36
Q_PROPERTY
(
int
height
READ
height
NOTIFY heightChanged FINAL)
37
Q_PROPERTY
(
QQuickWindow
*
window
READ
window
NOTIFY windowChanged FINAL)
38
QML_ANONYMOUS
39
QML_ADDED_IN_VERSION
(2, 0)
40
41
public:
42
QQuickWindowAttached
(
QObject
* attachee);
43
44
QWindow
::Visibility visibility() const;
45
bool
isActive
() const;
46
QQuickItem
* activeFocusItem() const;
47
QQuickItem
* contentItem() const;
48
int
width
() const;
49
int
height
() const;
50
QQuickWindow
*
window
() const;
51
52
Q_SIGNALS
:
53
54
void
visibilityChanged();
55
void
activeChanged();
56
void
activeFocusItemChanged();
57
void
contentItemChanged();
58
void
widthChanged();
59
void
heightChanged();
60
void
windowChanged();
61
62
protected
Q_SLOTS
:
63
void
windowChange(
QQuickWindow
*);
64
65
private
:
66
QQuickWindow
* m_window;
67
QQuickItem
* m_attachee;
68
};
69
70
QT_END_NAMESPACE
71
72
#endif
isActive
bool isActive
Definition
btsdpinquiry.mm:194
QObject
\inmodule QtCore
Definition
qobject.h:103
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:63
QQuickWindowAttached
Definition
qquickwindowattached_p.h:28
QQuickWindow
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
Definition
qquickwindow.h:42
QWindow
\inmodule QtGui
Definition
qwindow.h:63
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
height
GLint GLsizei GLsizei height
Definition
qopengles2ext.h:206
width
GLint GLsizei width
Definition
qopengles2ext.h:206
qqml.h
QML_ANONYMOUS
#define QML_ANONYMOUS
Definition
qqmlintegration.h:49
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:100
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
window
aWidget window() -> setWindowTitle("New Window Title")
[2]
private
#define private
Definition
vsp2hardwarelayerintegration.cpp:7
qtdeclarative
src
quick
items
qquickwindowattached_p.h
Generated by
1.10.0