QWaylandShellSurface Class

The QWaylandShellSurface class is a common interface for surface roles specified by shell extensions. More...

Header: #include <QWaylandShellSurface>
qmake: QT += waylandcompositor
Since: Qt 5.8
Inherits: QWaylandCompositorExtension

Properties

  • 1 property inherited from QObject

Public Functions

QWaylandShellSurface(QWaylandObject *waylandObject)
virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) = 0
virtual Qt::WindowType windowType() const
  • 34 public functions inherited from QObject

Signals

Protected Functions

QWaylandShellSurface(QWaylandCompositorExtensionPrivate &dd)
QWaylandShellSurface(QWaylandObject *container, QWaylandCompositorExtensionPrivate &dd)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QWaylandShellSurface class is a common interface for surface roles specified by shell extensions.

This interface represents a Wayland surface role given by a Wayland protocol extension that defines how the QWaylandSurface should map onto the screen.

See also QWaylandSurface, QWaylandWlShellSurface, QWaylandXdgSurfaceV5, and QWaylandIviSurface.

Property Documentation

windowType : const Qt::WindowType

This property holds the window type of the QWaylandShellSurface.

Access functions:

virtual Qt::WindowType windowType() const

Notifier signal:

void windowTypeChanged()

Member Function Documentation

QWaylandShellSurface::QWaylandShellSurface(QWaylandObject *waylandObject)

Default constructs an instance of QWaylandShellSurface.

[protected] QWaylandShellSurface::QWaylandShellSurface(QWaylandCompositorExtensionPrivate &dd)

Default constructs an instance of QWaylandShellSurface.

[protected] QWaylandShellSurface::QWaylandShellSurface(QWaylandObject *container, QWaylandCompositorExtensionPrivate &dd)

Default constructs an instance of QWaylandShellSurface.

[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)

Creates a QWaylandQuickShellIntegration for this QWaylandQuickShellSurface. It's called automatically when item's shellSurface is assigned.

See also QWaylandQuickShellSurfaceItem.