このページでは

QWaylandOutputMode Class

QWaylandOutputMode クラスは、出力の解像度とリフレッシュレートを保持します。詳細...

ヘッダー: #include <QWaylandOutputMode>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor

パブリック関数

bool isValid() const
int refreshRate() const
QSize size() const
bool operator!=(const QWaylandOutputMode &other) const
bool operator==(const QWaylandOutputMode &other) const

詳細な説明

QWaylandOutputMode は、出力の解像度とリフレッシュレートを保持します。解像度はピクセル単位で表され、リフレッシュレートは mHz 単位で測定されます。

QWaylandOutputも参照してください 。

メンバ関数のドキュメント

bool QWaylandOutputMode::isValid() const

このモードに有効な解像度とリフレッシュレートが含まれているかどうかを返します。

int QWaylandOutputMode::refreshRate() const

リフレッシュレートをmHz単位で返します。

QSize QWaylandOutputMode::size() const

解像度をピクセル単位で返します。

bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const

このモードが `other` と等しくない場合は `true ` を返し、それ以外の場合は `false` を返します。

bool QWaylandOutputMode::operator==(const QWaylandOutputMode &other) const

このモードがother と等しい場合はtrue を返し、そうでない場合はfalse を返します。

© 2026 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.