QWaylandOutputMode Class

QWaylandOutputMode 클래스는 출력의 해상도와 재생률을 보유합니다. 더 보기...

Header: #include <QWaylandOutputMode>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor

공용 함수

bool isValid() const
int refreshRate() const
QSize size() const
bool operator!=(const QWaylandOutputMode &other) const
bool operator==(const QWaylandOutputMode &other) const

상세 설명

QWaylandOutputMode는 출력의 해상도와 재생률을 보유합니다. 해상도는 픽셀 단위로 표시되고 재생률은 mHz 단위로 측정됩니다.

QWaylandOutput참조하십시오 .

멤버 함수 문서

bool QWaylandOutputMode::isValid() const

이 모드에 유효한 해상도와 새로 고침 빈도가 포함되어 있는지 여부를 반환합니다.

int QWaylandOutputMode::refreshRate() const

새로 고침 빈도를 mHz 단위로 반환합니다.

QSize QWaylandOutputMode::size() const

해상도를 픽셀 단위로 반환합니다.

bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const

이 모드가 other 과 같지 않으면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const

이 모드가 other 과 같으면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

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