95void QWaylandOutputMode::setSize(
const QSize &
size)
constexpr bool isEmpty() const noexcept
Returns true if either of the width and height is less than or equal to 0; otherwise returns false.
\inmodule QtWaylandCompositor
QWaylandOutputMode & operator=(const QWaylandOutputMode &other)
int refreshRate() const
Returns the refresh rate in mHz.
QSize size() const
Returns the resolution in pixels.
bool operator==(const QWaylandOutputMode &other) const
Returns true if this mode is equal to other, otherwise returns false.
bool isValid() const
Returns whether this mode contains a valid resolution and refresh rate.
bool operator!=(const QWaylandOutputMode &other) const
Returns true if this mode is not equal to other, otherwise returns false.
GLenum GLuint GLintptr GLsizeiptr size
[1]