QWaylandOutputMode Class
QWaylandOutputMode 클래스는 출력의 해상도와 재생 빈도를 저장합니다. 더 보기...
| 헤더: | #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 |
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`를 반환합니다.
© 2026 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.