QWaylandXdgPopup Class

The QWaylandXdgPopup class provides menus for an xdg surface More...

Header: #include <QWaylandXdgPopup>
qmake: QT += waylandcompositor
Inherits: QWaylandCompositorExtensionTemplate<QWaylandXdgPopup>

This class is under development and is subject to change.

Properties

  • 1 property inherited from QObject

Public Functions

QWaylandXdgPopup()
QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)
void initialize(QWaylandXdgShell *shell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)
QWaylandSurface *parentSurface() const
void sendPopupDone()
QWaylandSurface *surface() const

Signals

Static Public Members

QByteArray interfaceName()
QWaylandSurfaceRole *role()
  • 11 static public members inherited from QObject

Additional Inherited Members

Detailed Description

The QWaylandXdgPopup class provides menus for an xdg surface

The QWaylandXdbPopup class is part of the QWaylandXdgShell extension and provides a way to extend the functionality of an existing QWaylandSurface with features specific to desktop-style menus for an xdg surface.

It corresponds to the Wayland interface xdg_popup.

Property Documentation

parentSurface : QWaylandSurface * const

This property holds the surface associated with the parent of this QWaylandXdgPopup.

Access functions:

QWaylandSurface *parentSurface() const

Notifier signal:

void parentSurfaceChanged()

surface : QWaylandSurface * const

This property holds the surface associated with this QWaylandXdgPopup.

Access functions:

QWaylandSurface *surface() const

Notifier signal:

void surfaceChanged()

Member Function Documentation

QWaylandXdgPopup::QWaylandXdgPopup()

Constructs a QWaylandXdgPopup.

QWaylandXdgPopup::QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)

Constructs a QWaylandXdgPopup for surface and initializes it with the given parentSurface and resource.

void QWaylandXdgPopup::initialize(QWaylandXdgShell *shell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)

Initializes the QWaylandXdgPopup and associates it with the given shell surface, parentSurface, and resource.

[static] QByteArray QWaylandXdgPopup::interfaceName()

[static] QWaylandSurfaceRole *QWaylandXdgPopup::role()

Returns the surface role for the QWaylandXdgPopup.

void QWaylandXdgPopup::sendPopupDone()

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.