WaylandOutput QML Type | Qt Wayland Compositor (original) (raw)

Provides access to a displayable area managed by the compositor. More...

Properties

Detailed Description

The WaylandOutput manages a rectangular area within bounds of the compositor's geometry, to use it for displaying client content. This could, for instance, be a screen managed by the WaylandCompositor.

The type corresponds to the wl_output interface in the Wayland protocol.

Property Documentation

automaticFrameCallback : bool

This property holds whether the WaylandOutput automatically sends frame callbacks when rendering.

The default is true.

This property holds the geometry of the WaylandOutput available for displaying content. The available geometry is in output coordinates space, starts from 0,0 and it's as big as the output by default.

See also QWaylandOutput::geometry.

This property holds the compositor displaying content on this WaylandOutput.

Note: This property can be set only once, before the WaylandOutput component is completed.

This property holds a textual description of the manufacturer of the display managed by this WaylandOutput.

This property holds a textual description of the model of the display managed by this WaylandOutput.

This property holds the position of this WaylandOutput in the compositor's coordinate system.

This property holds the factor by which the WaylandCompositor scales surface buffers before they are displayed. It is used on high density output devices where unscaled content would be too small to be practical. The client can in turn set the scale factor of its buffer to match the output if it prefers to provide high resolution content that is suitable for the output device.

The default is 1 (no scaling).

This property controls whether the size of the WaylandOutput matches the size of its window.

If this property is true, all modes previously added are replaced by a mode that matches window size and screen refresh rate.

The default is false.

This property holds the subpixel arrangement of this WaylandOutput.

The default is WaylandOutput.SubpixelUnknown.

This property holds the transformation that the QWaylandCompositor applies to a surface to compensate for the orientation of the QWaylandOutput.

The default is WaylandOutput.TransformNormal.

This property holds the Window for this WaylandOutput.

Note: This property can be set only once, before the WaylandOutput component is completed.

© 2025 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.