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
qwaylandxdgoutputv1.h
Go to the documentation of this file.
1
// Copyright (C) 2019 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDXDGOUTPUTV1_H
6
#
define
QWAYLANDXDGOUTPUTV1_H
7
8
#
include
<
QtCore
/
QRect
>
9
#
include
<
QtWaylandCompositor
/
QWaylandCompositorExtension
>
10
#
if
QT_CONFIG
(
wayland_compositor_quick
)
11
#
include
<
QtWaylandCompositor
/
qwaylandquickchildren
.
h
>
12
#
endif
13
14
QT_BEGIN_NAMESPACE
15
16
class
QWaylandOutput;
17
18
class
QWaylandXdgOutputManagerV1Private;
19
class
QWaylandXdgOutputV1Private;
20
21
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandXdgOutputManagerV1
22
:
public
QWaylandCompositorExtensionTemplate<QWaylandXdgOutputManagerV1>
23
{
24
Q_OBJECT
25
Q_DECLARE_PRIVATE(QWaylandXdgOutputManagerV1)
26
public
:
27
explicit
QWaylandXdgOutputManagerV1();
28
QWaylandXdgOutputManagerV1(QWaylandCompositor *compositor);
29
30
void
initialize() override;
31
32
static
const
wl_interface *interface();
33
};
34
35
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandXdgOutputV1
:
public
QObject
36
{
37
Q_OBJECT
38
Q_DECLARE_PRIVATE(QWaylandXdgOutputV1)
39
#
if
QT_CONFIG
(
wayland_compositor_quick
)
40
Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandXdgOutputV1)
41
#
endif
42
43
Q_PROPERTY(QWaylandXdgOutputManagerV1 *manager READ manager NOTIFY managerChanged)
44
Q_PROPERTY(QWaylandOutput *output READ output NOTIFY outputChanged)
45
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
46
Q_PROPERTY(QString description READ description WRITE setDescription NOTIFY descriptionChanged)
47
Q_PROPERTY(QPoint logicalPosition READ logicalPosition WRITE setLogicalPosition NOTIFY logicalPositionChanged)
48
Q_PROPERTY(QSize logicalSize READ logicalSize WRITE setLogicalSize NOTIFY logicalSizeChanged)
49
Q_PROPERTY(QRect logicalGeometry READ logicalGeometry NOTIFY logicalGeometryChanged)
50
Q_MOC_INCLUDE(
"qwaylandoutput.h"
)
51
public
:
52
QWaylandXdgOutputV1();
53
QWaylandXdgOutputV1(QWaylandOutput *output, QWaylandXdgOutputManagerV1 *manager);
54
~QWaylandXdgOutputV1() override;
55
56
QWaylandXdgOutputManagerV1 *manager()
const
;
57
QWaylandOutput *output()
const
;
58
59
QString name()
const
;
60
void
setName(
const
QString &name);
61
62
QString description()
const
;
63
void
setDescription(
const
QString &name);
64
65
QPoint logicalPosition()
const
;
66
void
setLogicalPosition(
const
QPoint &position);
67
68
QSize logicalSize()
const
;
69
void
setLogicalSize(
const
QSize &size);
70
71
QRect logicalGeometry()
const
;
72
73
Q_SIGNALS:
74
void
managerChanged();
75
void
outputChanged();
76
void
logicalPositionChanged();
77
void
logicalSizeChanged();
78
void
logicalGeometryChanged();
79
void
nameChanged();
80
void
descriptionChanged();
81
};
82
83
QT_END_NAMESPACE
84
85
#
endif
// QWAYLANDXDGOUTPUTV1_H
QWaylandXdgOutputManagerV1
\qmltype XdgOutputManagerV1 \nativetype QWaylandXdgOutputManagerV1 \inqmlmodule QtWayland....
Definition
qwaylandxdgoutputv1.h:23
QWaylandXdgOutputV1
\qmltype XdgOutputV1 \nativetype QWaylandXdgOutputV1 \inqmlmodule QtWayland.Compositor....
Definition
qwaylandxdgoutputv1.h:36
qtwayland
src
compositor
extensions
qwaylandxdgoutputv1.h
Generated on
for Qt by
1.18.0