XdgPopupV5 QML Type

提供 xdg_popup interface that implements popup features for the xdg-shell protocol. 更多...

导入语句: import QtWayland.Compositor 1.0
Since: Qt 5.8

特性

方法

  • void initialize (XdgShellV5 shell , WaylandSurface surface , WaylandSurface parentSurface , point position , WaylandResource resource )

详细描述

This type is part of the XdgShellV5 extension and provides a way to extend the functionality of an existing WaylandSurface for handling popup surfaces created by clients using xdg-shell.

It corresponds to the Wayland interface xdg_popup for the unstable xdg-shell protocol v5.

特性文档编制

parentSurface : WaylandSurface

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


position : point

This property holds the location of the upper left corner of the surface relative to the upper left corner of the parent surface, in surface local coordinates.


shell : XdgShellV5

This property holds the shell associated with this XdgPopupV5 .


surface : WaylandSurface

This property holds the surface associated with this XdgPopupV5 .


方法文档编制

void initialize ( XdgShellV5 shell , WaylandSurface surface , WaylandSurface parentSurface , point position , WaylandResource resource )

Initializes the xdg popup, associating it with the given shell , surface , parentSurface , position and resource .