QWaylandOutputMode Class
La classe `QWaylandOutputMode` contient la résolution et la fréquence de rafraîchissement d'une sortie. En savoir plus...
| En-tête : | #include <QWaylandOutputMode> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake : | QT += waylandcompositor |
Fonctions publiques
| bool | isValid() const |
| int | refreshRate() const |
| QSize | size() const |
| bool | operator!=(const QWaylandOutputMode &other) const |
| bool | operator==(const QWaylandOutputMode &other) const |
Description détaillée
QWaylandOutputMode contient la résolution et la fréquence de rafraîchissement d'une sortie. La résolution est exprimée en pixels et la fréquence de rafraîchissement est mesurée en mHz.
Voir aussi QWaylandOutput.
Documentation des fonctions membres
bool QWaylandOutputMode::isValid() const
Indique si ce mode contient une résolution et une fréquence de rafraîchissement valides.
int QWaylandOutputMode::refreshRate() const
Renvoie la fréquence de rafraîchissement en mHz.
QSize QWaylandOutputMode::size() const
Renvoie la résolution en pixels.
bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
Renvoie « true » si ce mode n'est pas égal à « other », sinon renvoie « false ».
bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const
Renvoie « true » si ce mode est égal à « other », sinon renvoie « 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.