Auf dieser Seite

QWaylandOutputMode Class

Die Klasse „QWaylandOutputMode“ enthält die Auflösung und die Bildwiederholfrequenz eines Ausgabegeräts. Mehr...

Header: #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

Ausführliche Beschreibung

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

Siehe auch „ QWaylandOutput “.

Dokumentation zu den Member-Funktionen

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 Pixeln zurück.

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

Gibt „ true “ zurück, wenn dieser Modus nicht mit „ other “ übereinstimmt; andernfalls wird „ false “ zurückgegeben.

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

Gibt „ true “ zurück, wenn dieser Modus mit „ other “ übereinstimmt; andernfalls wird „ false “ zurückgegeben.

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