QWaylandOutputMode Class
La classe QWaylandOutputMode contiene la risoluzione e la frequenza di aggiornamento di un'uscita. Per saperne di più...
| Intestazione: | #include <QWaylandOutputMode> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
Funzioni pubbliche
| bool | isValid() const |
| int | refreshRate() const |
| QSize | size() const |
| bool | operator!=(const QWaylandOutputMode &other) const |
| bool | operator==(const QWaylandOutputMode &other) const |
Descrizione dettagliata
QWaylandOutputMode contiene la risoluzione e la frequenza di aggiornamento di un'uscita. La risoluzione è espressa in pixel e la frequenza di aggiornamento è misurata in mHz.
Vedi anche QWaylandOutput.
Documentazione delle funzioni membro
bool QWaylandOutputMode::isValid() const
Indica se questa modalità contiene una risoluzione e una frequenza di aggiornamento valide.
int QWaylandOutputMode::refreshRate() const
Restituisce la frequenza di aggiornamento in mHz.
QSize QWaylandOutputMode::size() const
Restituisce la risoluzione in pixel.
bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
Restituisce ` true ` se questa modalità non è uguale a ` other`, altrimenti restituisce ` false`.
bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const
Restituisce ` true ` se questa modalità è uguale a ` other`, altrimenti restituisce ` 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.