The QWaylandOutputMode class holds the resolution and refresh rate of an output. More...
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) |
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
|qmake:||QT += waylandcompositor|
|bool||operator!=(const QWaylandOutputMode &other) const|
|bool||operator==(const QWaylandOutputMode &other) const|
QWaylandOutputMode holds the resolution and refresh rate of an output. Resolution is expressed in pixels and refresh rate is measured in mHz.
See also QWaylandOutput.
Member Function Documentation
Returns whether this mode contains a valid resolution and refresh rate.
Returns the refresh rate in mHz.
QSize QWaylandOutputMode::size() const
Returns the resolution in pixels.
true if this mode is not equal to other, otherwise returns
true if this mode is equal to other, otherwise returns
© 2023 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.