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
qwaylandfullscreenshellv1surface.h
Go to the documentation of this file.
1// Copyright (C) 2018 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
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 QWAYLANDFULLSCREENSHELLV1SURFACE_H
5#define QWAYLANDFULLSCREENSHELLV1SURFACE_H
6
7#include <QtWaylandClient/qtwaylandclientglobal.h>
8#include <QtWaylandClient/private/qwaylandshellsurface_p.h>
9#include <QtWaylandClient/private/qwaylandwindow_p.h>
10
11#include "qwayland-fullscreen-shell-unstable-v1.h"
12
14
15namespace QtWaylandClient {
16
17class Q_WAYLANDCLIENT_EXPORT QWaylandFullScreenShellV1Surface : public QWaylandShellSurface
18{
19public:
20 QWaylandFullScreenShellV1Surface(QtWayland::zwp_fullscreen_shell_v1 *shell, QWaylandWindow *window);
21 std::any surfaceRole() const override { return m_shell->object(); }
22
23private:
24 QtWayland::zwp_fullscreen_shell_v1 *m_shell = nullptr;
25 QWaylandWindow *m_window = nullptr;
26};
27
28} // namespace QtWaylandClient
29
31
32#endif // QWAYLANDFULLSCREENSHELLV1SURFACE_H
Combined button and popup list for selecting options.
aWidget window() -> setWindowTitle("New Window Title")
[2]