WaylandOutput QML Type
Type providing access to a displayable area managed by the compositor. More...
Import Statement: | import QtWayland.Compositor 1.0 |
Properties
- automaticFrameCallback : bool
- availableGeometry : rect
- compositor : object
- geometry : rect
- manufacturer : string
- model : string
- physicalSize : size
- position : point
- scaleFactor : int
- sizeFollowsWindow : bool
- subpixel : enum
- transform : enum
- window : object
Detailed Description
The WaylandOutput manages a rectangular part of the compositor's geometry that can be used 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
This property holds whether the WaylandOutput automatically sends frame callbacks when rendering.
The default is true.
availableGeometry : rect |
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 QWaylandOutput. This property can only be set once, before the WaylandOutput component is completed.
geometry : rect |
This property holds the geometry of the WaylandOutput.
This property holds a textual description of the manufacturer of this WaylandOutput.
This property holds a textual description of the model of this WaylandOutput.
physicalSize : size |
This property holds the physical size of the WaylandOutput in millimeters.
See also QWaylandOutput::geometry.
position : point |
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. This 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.
The default is true if this WaylandOutput has a window.
This property holds the subpixel arrangement of this WaylandOutput.
- WaylandOutput.SubpixelUnknown The subpixel arrangement is not set.
- WaylandOutput.SubpixelNone There are no subpixels.
- WaylandOutput.SubpixelHorizontalRgb The subpixels are arranged horizontally in red, green, blue order.
- WaylandOutput.SubpixelHorizontalBgr The subpixels are arranged horizontally in blue, green, red order.
- WaylandOutput.SubpixelVerticalRgb The subpixels are arranged vertically in red, green, blue order.
- WaylandOutput.SubpixelVerticalBgr The subpixels are arranged vertically in blue, green, red order.
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.
- WaylandOutput.TransformNormal The QWaylandOutput orientation is normal.
- WaylandOutput.Transform90 The QWaylandOutput is rotated 90 degrees.
- WaylandOutput.Transform180 The QWaylandOutput is rotated 180 degrees.
- WaylandOutput.Transform270 The QWaylandOutput is rotated 270 degrees.
- WaylandOutput.TransformFlipped The QWaylandOutput is mirrored.
- WaylandOutput.TransformFlipped90 The QWaylandOutput is mirrored, then rotated 90 degrees.
- WaylandOutput.TransformFlipped180 The QWaylandOutput is mirrored, then rotated 180 degrees.
- WaylandOutput.TransformFlipped270 The QWaylandOutput is mirrored, then rotated 270 degrees.
The default is WaylandOutput.TransformNormal.
This property holds the Window for this WaylandOutput. This property can only be set once, before the WaylandOutput component is completed.