The QWaylandOutputMode class holds the resolution and refresh rate of an output. More...
Header: | #include <QWaylandOutputMode> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
This class was introduced in Qt 5.8.
bool | isValid() const |
int | refreshRate() const |
QSize | size() const |
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.
Returns whether this mode contains a valid resolution and refresh rate.
Returns the refresh rate in mHz.
Returns the resolution in pixels.
Returns true
if this mode is not equal to other, otherwise returns false
.
Returns true
if this mode is equal to other, otherwise returns false
.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qwaylandoutputmode.html