4#ifndef QWAYLANDQTSURFACE_H
5#define QWAYLANDQTSURFACE_H
7#include <QtCore/qpoint.h>
8#include <QtWaylandClient/private/qwaylandshellsurface_p.h>
9#include "qwayland-qt-shell-unstable-v1.h"
16class QWaylandInputDevice;
19 ,
public QtWayland::zqt_shell_surface_v1
25 void applyConfigure()
override;
26 void setWindowGeometry(
const QRect &
rect)
override;
29 void setWindowFlags(Qt::WindowFlags
flags)
override;
30 void requestWindowStates(Qt::WindowStates
states)
override;
35 bool requestActivate()
override;
37 void propagateSizeHints()
override;
39 QMargins serverSideFrameMargins()
const override;
41 void raise()
override;
42 void lower()
override;
47 void resetConfiguration();
49 void zqt_shell_surface_v1_close()
override;
50 void zqt_shell_surface_v1_resize(uint32_t serial, int32_t
width, int32_t
height)
override;
51 void zqt_shell_surface_v1_set_position(uint32_t serial, int32_t
x, int32_t
y)
override;
52 void zqt_shell_surface_v1_configure(uint32_t serial)
override;
53 void zqt_shell_surface_v1_set_window_state(uint32_t serial, uint32_t
state)
override;
54 void zqt_shell_surface_v1_set_frame_margins(uint32_t
left, uint32_t
right,
56 void zqt_shell_surface_v1_set_capabilities(uint32_t capabilities)
override;
59 QPoint m_pendingPosition = { -1, -1 };
60 bool m_pendingPositionValid =
false;
64 uint32_t m_currentConfigureSerial = UINT32_MAX;
65 uint32_t m_capabilities = 0;
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
std::any surfaceRole() const override
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height
GLdouble GLdouble GLdouble GLdouble top
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)