The QWaylandOutputMode class holds the resolution and refresh rate of an output. 更多...
头: | #include <QWaylandOutputMode> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
QWaylandOutputMode () | |
QWaylandOutputMode (const QSize & size , int refreshRate ) | |
QWaylandOutputMode (const QWaylandOutputMode & other ) | |
~QWaylandOutputMode () | |
bool | isValid () const |
int | refreshRate () const |
QSize | size () const |
bool | operator!= (const QWaylandOutputMode & other ) const |
QWaylandOutputMode & | operator= (const QWaylandOutputMode & other ) |
bool | operator== (const QWaylandOutputMode & other ) const |
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.
另请参阅 QWaylandOutput .
Default constructs an instance of QWaylandOutputMode.
Default constructs an instance of QWaylandOutputMode.
Default constructs an instance of QWaylandOutputMode.
Destroys the instance of QWaylandOutputMode.
Returns whether this mode contains a valid resolution and refresh rate.
Returns the refresh rate in mHz.
Returns the resolution in pixels.
返回
true
if this mode is not equal to
other
,否则返回
false
.
拷贝赋值运算符。
返回
true
if this mode is equal to
other
,否则返回
false
.