QWaylandOutputMode Class
La clase `QWaylandOutputMode` contiene la resolución y la frecuencia de actualización de una salida. Más información...
| Encabezado: | #include <QWaylandOutputMode> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
Funciones públicas
| bool | isValid() const |
| int | refreshRate() const |
| QSize | size() const |
| bool | operator!=(const QWaylandOutputMode &other) const |
| bool | operator==(const QWaylandOutputMode &other) const |
Descripción detallada
QWaylandOutputMode contiene la resolución y la frecuencia de actualización de una salida. La resolución se expresa en píxeles y la frecuencia de actualización se mide en mHz.
Véase también QWaylandOutput.
Documentación de las funciones de miembro
bool QWaylandOutputMode::isValid() const
Indica si este modo contiene una resolución y una frecuencia de actualización válidas.
int QWaylandOutputMode::refreshRate() const
Devuelve la frecuencia de actualización en mHz.
QSize QWaylandOutputMode::size() const
Devuelve la resolución en píxeles.
bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
Devuelve « true » si este modo no es igual a « other »; en caso contrario, devuelve « false ».
bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const
Devuelve « true » si este modo es igual a « other »; en caso contrario, devuelve « 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.