Sur cette page

QWaylandOutputMode Class

La classe QWaylandOutputMode contient la résolution et le taux de rafraîchissement d'une sortie. Plus d'informations...

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 indique la résolution et le taux de rafraîchissement d'une sortie. La résolution est exprimée en pixels et le taux de rafraîchissement est mesuré en mHz.

Voir également 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 le taux 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.