QCapturableWindow Class
キャプチャ可能なウィンドウの基本情報を取得するために使用します。詳細...
ヘッダー | #include <QCapturableWindow> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
以来: | Qt 6.6 |
QML では | CapturableWindow |
パブリック関数
QCapturableWindow() | |
QCapturableWindow(const QCapturableWindow &other) | |
QCapturableWindow(QCapturableWindow &&other) | |
~QCapturableWindow() | |
QString | description() const |
bool | isValid() const |
void | swap(QCapturableWindow &other) |
QCapturableWindow & | operator=(QCapturableWindow &&other) |
QCapturableWindow & | operator=(const QCapturableWindow &other) |
関連する非メンバー
bool | operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs) |
bool | operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs) |
詳細な説明
このクラスはウィンドウ情報のセットを含んでいます。ただしメソッドQCapturableWindow::isValid は呼び出されるたびに現在の状態を取り出します。
QWindowCaptureも参照して ください。
メンバ関数のドキュメント
QCapturableWindow::QCapturableWindow()
どのウィンドウも参照しない、NULLのキャプチャ可能なウィンドウ情報を構築する。
QCapturableWindow::QCapturableWindow(const QCapturableWindow &other)
other QCapturableWindowを使用して新しいウィンドウ情報を構築します。
[noexcept]
QCapturableWindow::QCapturableWindow(QCapturableWindow &&other)
other から移動して QCapturableWindow を構築します。
[noexcept]
QCapturableWindow::~QCapturableWindow()
ウィンドウ情報を破棄する。
QString QCapturableWindow::description() const
ウィンドウの説明を返します。ほとんどの場合、ウィンドウのタイトルを表します。
注意: プロパティの説明のゲッター関数です。
bool QCapturableWindow::isValid() const
ウィンドウ情報が有効かどうかを識別する。
無効なウィンドウ情報は、存在しないウィンドウを参照するか、何も参照しない。
ウィンドウが有効な場合はtrueを、無効な場合はfalseを返す。
注: プロパティisValidのゲッター関数。
[noexcept]
void QCapturableWindow::swap(QCapturableWindow &other)
現在のウィンドウ情報をother と入れ替える。
[noexcept]
QCapturableWindow &QCapturableWindow::operator=(QCapturableWindow &&other)
other をこのQCapturableWindow に移動する。
QCapturableWindow &QCapturableWindow::operator=(const QCapturableWindow &other)
other ウィンドウ情報をこのQCapturableWindow に割り当てます。
関連する非会員
[noexcept]
bool operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs)
ウィンドウ情報lhs とrhs が異なるウィンドウを参照している場合はtrue
を返し、そうでない場合はfalse
を返す。
[noexcept]
bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs)
ウィンドウ情報lhs とrhs が同じウィンドウを参照している場合は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.