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 を返す。

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