Used for getting the basic information of a capturable window. More...
| Header: | #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 |
| 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) |
The class contains a set of window information, except the method QCapturableWindow::isValid which pulls the current state whenever it's called.
See also QWindowCapture.
Constructs a null capturable window information that doesn't refer to any window.
Construct a new window information using other QCapturableWindow.
[noexcept] QCapturableWindow::QCapturableWindow(QCapturableWindow &&other)Constructs a QCapturableWindow by moving from other.
[noexcept] QCapturableWindow::~QCapturableWindow()Destroys the window information.
Returns a description of the window. In most cases it represents the window title.
Note: Getter function for property description.
Identifies whether a window information is valid.
An invalid window information refers to non-existing window or doesn't refer to any one.
Returns true if the window is valid, and false if it is not.
Note: Getter function for property isValid.
[noexcept] void QCapturableWindow::swap(QCapturableWindow &other)Swaps the current window information with other.
[noexcept] QCapturableWindow
&QCapturableWindow::operator=(QCapturableWindow &&other)Moves other into this QCapturableWindow.
Assigns the other window information to this QCapturableWindow.
[noexcept] bool operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs)Returns true if window information lhs and rhs refer to different windows, otherwise returns false.
[noexcept] bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs)Returns true if window information lhs and rhs refer to the same window, otherwise returns false.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: