QCapturableWindow Class
Dient zum Abrufen der grundlegenden Informationen eines erfaßbaren Fensters. Mehr...
Kopfzeile: | #include <QCapturableWindow> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
Since: | Qt 6.6 |
In QML: | CapturableWindow |
Öffentliche Funktionen
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) |
Verwandte Nicht-Mitglieder
bool | operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs) |
bool | operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs) |
Detaillierte Beschreibung
Die Klasse enthält eine Reihe von Fensterinformationen, mit Ausnahme der Methode QCapturableWindow::isValid, die bei jedem Aufruf den aktuellen Zustand abfragt.
Siehe auch QWindowCapture.
Dokumentation der Mitgliedsfunktionen
QCapturableWindow::QCapturableWindow()
Konstruiert eine nicht erfassbare Fensterinformation, die sich auf kein Fenster bezieht.
QCapturableWindow::QCapturableWindow(const QCapturableWindow &other)
Konstruieren Sie eine neue Fensterinformation mit other QCapturableWindow.
[noexcept]
QCapturableWindow::QCapturableWindow(QCapturableWindow &&other)
Konstruiert ein QCapturableWindow durch Verschieben von other.
[noexcept]
QCapturableWindow::~QCapturableWindow()
Löscht die Fensterinformationen.
QString QCapturableWindow::description() const
Gibt eine Beschreibung des Fensters zurück. In den meisten Fällen handelt es sich um den Fenstertitel.
Hinweis: Getter-Funktion für die Eigenschaft description.
bool QCapturableWindow::isValid() const
Gibt an, ob eine Fensterinformation gültig ist.
Eine ungültige Fensterinformation verweist auf ein nicht existierendes Fenster oder verweist auf kein Fenster.
Gibt true zurück, wenn das Fenster gültig ist, und false, wenn es nicht gültig ist.
Hinweis: Getter-Funktion für die Eigenschaft isValid.
[noexcept]
void QCapturableWindow::swap(QCapturableWindow &other)
Tauscht die aktuellen Fensterinformationen mit other aus.
[noexcept]
QCapturableWindow &QCapturableWindow::operator=(QCapturableWindow &&other)
Bewegt sich other in diese QCapturableWindow.
QCapturableWindow &QCapturableWindow::operator=(const QCapturableWindow &other)
Weist die Fensterinformationen von other diesem QCapturableWindow zu.
Verwandte Nicht-Mitglieder
[noexcept]
bool operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs)
Gibt true
zurück, wenn sich die Fensterinformationen lhs und rhs auf unterschiedliche Fenster beziehen, andernfalls false
.
[noexcept]
bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs)
Gibt true
zurück, wenn sich die Fensterinformationen lhs und rhs auf das gleiche Fenster beziehen, andernfalls 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.