![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtWaylandCompositor More...
#include <qwaylandoutputmode.h>
Public Member Functions | |
| QWaylandOutputMode () | |
| QWaylandOutputMode (const QSize &size, int refreshRate) | |
| QWaylandOutputMode (const QWaylandOutputMode &other) | |
| ~QWaylandOutputMode () | |
| QWaylandOutputMode & | operator= (const QWaylandOutputMode &other) |
| bool | operator== (const QWaylandOutputMode &other) const |
Returns true if this mode is equal to other, otherwise returns false. | |
| bool | operator!= (const QWaylandOutputMode &other) const |
Returns true if this mode is not equal to other, otherwise returns false. | |
| bool | isValid () const |
| Returns whether this mode contains a valid resolution and refresh rate. | |
| QSize | size () const |
| Returns the resolution in pixels. | |
| int | refreshRate () const |
| Returns the refresh rate in mHz. | |
Friends | |
| class | QWaylandOutputPrivate |
\inmodule QtWaylandCompositor
The QWaylandOutputMode class holds the resolution and refresh rate of an output.
QWaylandOutputMode holds the resolution and refresh rate of an output. Resolution is expressed in pixels and refresh rate is measured in mHz.
Definition at line 13 of file qwaylandoutputmode.h.
|
explicit |
Definition at line 20 of file qwaylandoutputmode.cpp.
| QWaylandOutputMode::QWaylandOutputMode | ( | const QSize & | size, |
| int | refreshRate ) |
Definition at line 25 of file qwaylandoutputmode.cpp.
| QWaylandOutputMode::QWaylandOutputMode | ( | const QWaylandOutputMode & | other | ) |
Definition at line 32 of file qwaylandoutputmode.cpp.
| QWaylandOutputMode::~QWaylandOutputMode | ( | ) |
Definition at line 39 of file qwaylandoutputmode.cpp.
| bool QWaylandOutputMode::isValid | ( | ) | const |
Returns whether this mode contains a valid resolution and refresh rate.
Definition at line 72 of file qwaylandoutputmode.cpp.
| bool QWaylandOutputMode::operator!= | ( | const QWaylandOutputMode & | other | ) | const |
Returns true if this mode is not equal to other, otherwise returns false.
Definition at line 64 of file qwaylandoutputmode.cpp.
| QWaylandOutputMode & QWaylandOutputMode::operator= | ( | const QWaylandOutputMode & | other | ) |
Definition at line 44 of file qwaylandoutputmode.cpp.
| bool QWaylandOutputMode::operator== | ( | const QWaylandOutputMode & | other | ) | const |
Returns true if this mode is equal to other, otherwise returns false.
Definition at line 55 of file qwaylandoutputmode.cpp.
| int QWaylandOutputMode::refreshRate | ( | ) | const |
Returns the refresh rate in mHz.
Definition at line 88 of file qwaylandoutputmode.cpp.
| QSize QWaylandOutputMode::size | ( | ) | const |
Returns the resolution in pixels.
Definition at line 80 of file qwaylandoutputmode.cpp.
|
friend |
Definition at line 32 of file qwaylandoutputmode.h.