QWaylandOutputMode Class

Die Klasse QWaylandOutputMode enthält die Auflösung und Aktualisierungsrate einer Ausgabe. Mehr...

Kopfzeile: #include <QWaylandOutputMode>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor

Öffentliche Funktionen

bool isValid() const
int refreshRate() const
QSize size() const
bool operator!=(const QWaylandOutputMode &other) const
bool operator==(const QWaylandOutputMode &other) const

Detaillierte Beschreibung

QWaylandOutputMode enthält die Auflösung und die Aktualisierungsrate einer Ausgabe. Die Auflösung wird in Pixeln und die Aktualisierungsrate in mHz angegeben.

Siehe auch QWaylandOutput.

Dokumentation der Mitgliedsfunktionen

bool QWaylandOutputMode::isValid() const

Gibt zurück, ob dieser Modus eine gültige Auflösung und Bildwiederholfrequenz enthält.

int QWaylandOutputMode::refreshRate() const

Gibt die Bildwiederholfrequenz in mHz zurück.

QSize QWaylandOutputMode::size() const

Gibt die Auflösung in Pixel zurück.

bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const

Gibt true zurück, wenn dieser Modus nicht gleich other ist, andernfalls false.

bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const

Gibt true zurück, wenn dieser Modus gleich other ist, andernfalls gibt er false zurück.

© 2025 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.