QWaylandOutputMode Class
A classe QWaylandOutputMode armazena a resolução e a taxa de atualização de uma saída. Mais...
| Cabeçalho: | #include <QWaylandOutputMode> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
Funções públicas
| bool | isValid() const |
| int | refreshRate() const |
| QSize | size() const |
| bool | operator!=(const QWaylandOutputMode &other) const |
| bool | operator==(const QWaylandOutputMode &other) const |
Descrição detalhada
QWaylandOutputMode armazena a resolução e a taxa de atualização de uma saída. A resolução é expressa em pixels e a taxa de atualização é medida em mHz.
Veja também ` QWaylandOutput`.
Documentação das funções de membro
bool QWaylandOutputMode::isValid() const
Retorna se este modo contém uma resolução e uma taxa de atualização válidas.
int QWaylandOutputMode::refreshRate() const
Retorna a taxa de atualização em mHz.
QSize QWaylandOutputMode::size() const
Retorna a resolução em pixels.
bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
Retorna ` true ` se este modo não for igual a ` other`; caso contrário, retorna ` false`.
bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const
Retorna ` true ` se este modo for igual a ` other`; caso contrário, retorna ` 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.