KWayland
xdgshell.cpp
106 XdgShellPopup *XdgShell::createPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent)
111 XdgShellPopup *XdgShell::createPopup(Surface *surface, XdgShellSurface *parentSurface, const XdgPositioner &positioner, QObject *parent)
116 XdgShellPopup *XdgShell::createPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent)
void setTitle(const QString &title)
Sets the window title of this XdgShellSurface to title.
Definition: xdgshell.cpp:224
void setEventQueue(EventQueue *queue)
Sets the queue to use for bound proxies.
Definition: xdgshell.cpp:164
Q_EMITQ_EMIT
virtual void release(quint64 objid)
void requestResize(Seat *seat, quint32 serial, Qt::Edges edges)
Requests a resize on the given seat after the pointer button press with the given serial.
Definition: xdgshell.cpp:244
void setAppId(const QByteArray &appId)
Set an application identifier for the surface.
Definition: xdgshell.cpp:229
QSize initialSize() const
The size of the surface that is to be positioned.
Definition: xdgshell.cpp:441
int x() const const
int y() const const
void ackConfigure(quint32 serial)
When a configure event is received, if a client commits the Surface in response to the configure even...
Definition: xdgshell.cpp:364
void setup(xdg_popup *xdgpopupv5)
Setup this XdgShellPopup to manage the xdgpopupv5.
Definition: xdgshell.cpp:324
void setMaximized(bool set)
Request to set this XdgShellSurface to be maximized if set is true.
Definition: xdgshell.cpp:254
Qt::Edges anchorEdge() const
Which edge of the anchor should the popup be positioned around.
Definition: xdgshell.cpp:461
void requestMinimize()
Request to the compositor to minimize this XdgShellSurface.
Definition: xdgshell.cpp:287
void ackConfigure(quint32 serial)
When a configure event is received, if a client commits the Surface in response to the configure even...
Definition: xdgshell.cpp:249
void setup(xdg_surface *xdgsurfacev5)
Setup this XdgShellSurface to manage the xdgsurfacev5.
Definition: xdgshell.cpp:139
void setSize(const QSize &size)
Sets the size for the XdgShellSurface to size.
Definition: xdgshell.cpp:292
Definition: xdgshell.h:274
void setWindowGeometry(const QRect &windowGeometry)
Sets the position of the window contents within the buffer.
Definition: xdgshell.cpp:282
QRect anchorRect() const
The area this popup should be positioned around.
Definition: xdgshell.cpp:451
void setMaxSize(const QSize &size)
Set this surface to have a given maximum size.
Definition: xdgshell.cpp:272
void setEventQueue(EventQueue *queue)
Sets the queue to use for bound proxies.
Definition: xdgshell.cpp:349
void setWindowGeometry(const QRect &windowGeometry)
Sets the position of the window contents within the buffer.
Definition: xdgshell.cpp:369
Constraints constraints() const
Specifies how the compositor should position the popup if it does not fit in the requested position.
Definition: xdgshell.cpp:491
void setFullscreen(bool set, Output *output=nullptr)
Request to set this XdgShellSurface as fullscreen on output.
Definition: xdgshell.cpp:263
void requestGrab(Seat *seat, quint32 serial)
Requests a grab on this popup.
Definition: xdgshell.cpp:359
void setTransientFor(XdgShellSurface *parent)
Set this XdgShellSurface as transient for parent.
Definition: xdgshell.cpp:219
Builder class describing how a popup should be positioned when created.
Definition: xdgshell.h:44
A XdgShellPopup is a short-lived, temporary surface that can be used to implement menus.
Definition: xdgshell.h:511
typedef Edges
Qt::Edges gravity() const
Specifies in what direction the popup should be positioned around the anchor i.e if the gravity is "b...
Definition: xdgshell.cpp:481
void requestMove(Seat *seat, quint32 serial)
Requests a move on the given seat after the pointer button press with the given serial.
Definition: xdgshell.cpp:239
void sizeChanged(const QSize &)
Emitted whenever the size of the XdgShellSurface changes by e.g.
void setMinSize(const QSize &size)
Set this surface to have a given minimum size.
Definition: xdgshell.cpp:277
QObject * parent() const const
void requestShowWindowMenu(Seat *seat, quint32 serial, const QPoint &pos)
Requests to show the window menu at pos in surface coordinates.
Definition: xdgshell.cpp:234
QPoint anchorOffset() const
An additional offset that should be applied from the anchor.
Definition: xdgshell.cpp:471
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jan 30 2023 03:56:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jan 30 2023 03:56:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.