WaylandOutput QML Type
컴포저가 관리하는 표시 가능 영역에 대한 액세스를 제공합니다. 더 보기...
Import Statement: | import QtWayland.Compositor |
In C++: | QWaylandOutput |
속성
- automaticFrameCallback : bool
- availableGeometry : rect
- compositor : WaylandCompositor
- geometry : rect
- manufacturer : string
- model : string
- physicalSize : size
- position : point
- scaleFactor : int
- sizeFollowsWindow : bool
- subpixel : enum
- transform : enum
- window : Window
상세 설명
웨이랜드 출력은 컴포저의 지오메트리 범위 내에서 직사각형 영역을 관리하여 클라이언트 콘텐츠를 표시하는 데 사용합니다. 예를 들어 WaylandCompositor 에서 관리하는 화면이 될 수 있습니다.
이 유형은 Wayland 프로토콜의 wl_output
인터페이스에 해당합니다.
참고: 컴포저에 여러 웨이랜드 출력이 있는 경우 QGuiApplication 객체가 생성되기 전에 Qt::AA_ShareOpenGLContexts 속성을 설정해야 합니다.
속성 문서
automaticFrameCallback : bool |
이 속성은 렌더링할 때 WaylandOutput 프레임 콜백을 자동으로 전송할지 여부를 저장합니다.
기본값은 true입니다.
availableGeometry : rect |
이 속성은 콘텐츠를 표시하는 데 사용할 수 있는 WaylandOutput 의 지오메트리를 보유합니다. 사용 가능한 지오메트리는 출력 좌표 공간에 있으며 0,0에서 시작하고 기본적으로 출력 크기만큼 큽니다.
QWaylandOutput::geometry 를참조하세요 .
compositor : WaylandCompositor |
이 프로퍼티는 이 WaylandOutput 에 콘텐츠를 표시하는 컴포저를 보유합니다.
참고: 이 속성은 WaylandOutput 컴포넌트가 완성되기 전에 한 번만 설정할 수 있습니다.
geometry : rect |
이 속성은 WaylandOutput 의 지오메트리를 보유합니다.
manufacturer : string |
이 속성은 이 WaylandOutput 의 제조업체에 대한 텍스트 설명을 보유합니다.
model : string |
이 속성은 이 WaylandOutput 의 모델에 대한 텍스트 설명을 보유합니다.
physicalSize : size |
이 속성은 WaylandOutput 의 물리적 크기(밀리미터)를 보유합니다.
QWaylandOutput::geometry도 참조하십시오 .
position : point |
이 속성은 컴포저의 좌표계에서 이 WaylandOutput 의 위치를 보유합니다.
scaleFactor : int |
이 프로퍼티는 표면 버퍼가 표시되기 전에 WaylandCompositor 의 스케일을 조정하는 계수를 보유합니다. 스케일링되지 않은 콘텐츠가 너무 작아 실용적이지 않은 고밀도 출력 장치에서 사용됩니다. 클라이언트는 출력 장치에 적합한 고해상도 콘텐츠를 제공하려는 경우 출력에 맞게 버퍼의 스케일 계수를 설정할 수 있습니다.
기본값은 1(스케일링 없음)입니다.
sizeFollowsWindow : bool |
이 속성은 WaylandOutput 의 크기가 해당 창의 크기와 일치하는지 여부를 제어합니다.
이 속성이 참이면 이전에 추가된 모든 모드가 창 크기 및 화면 새로 고침 빈도와 일치하는 모드로 대체됩니다.
기본값은 false입니다.
subpixel : enum |
이 속성은 이 WaylandOutput.
- WaylandOutput.SubpixelUnknown 서브픽셀 배열이 설정되지 않았습니다.
- WaylandOutput.서브픽셀없음 서브픽셀이 없습니다.
- WaylandOutput하위 픽셀이 빨간색, 녹색, 파란색 순서로 가로로 배열되어 있습니다.
- WaylandOutput하위 픽셀이 파랑, 녹색, 빨강 순서로 가로로 배열됩니다.
- WaylandOutput.서브픽셀수직Rgb 서브픽셀이 빨강, 녹색, 파랑 순으로 수직으로 배열됩니다.
- WaylandOutput하위 픽셀이 파란색, 녹색, 빨간색 순서로 세로로 배열됩니다.
기본값은 WaylandOutput.SubpixelUnknown입니다.
transform : enum |
이 프로퍼티는 QWaylandOutput 의 방향을 보정하기 위해 QWaylandCompositor 이 서페이스에 적용하는 변환을 보유합니다.
- WaylandOutput.TransformNormal 방향은 일반입니다.
- WaylandOutput.Transform90 방향이 90도 회전됩니다.
- WaylandOutput.Transform180 방향이 180도 회전됩니다.
- WaylandOutput.Transform270 방향이 270도 회전됩니다.
- WaylandOutput.TransformFlipped 방향이 미러링됩니다.
- WaylandOutput.TransformFlipped90 방향이 미러링된 후 90도 회전됩니다.
- WaylandOutput.TransformFlipped180 방향이 미러링된 후 180도 회전됩니다.
- WaylandOutput.TransformFlipped270 방향이 미러링된 후 270도 회전됩니다.
기본값은 WaylandOutput.TransformNormal입니다.
window : Window |
이 속성은 WaylandOutput 의 창을 보유합니다.
참고: 이 속성은 WaylandOutput 컴포넌트가 완성되기 전에 한 번만 설정할 수 있습니다.
© 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.