![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtMultimedia More...
#include <qcapturablewindow.h>
Public Member Functions | |
Q_MULTIMEDIA_EXPORT | QCapturableWindow () |
Constructs a null capturable window information that doesn't refer to any window. | |
Q_MULTIMEDIA_EXPORT | ~QCapturableWindow () |
Destroys the window information. | |
Q_MULTIMEDIA_EXPORT | QCapturableWindow (const QCapturableWindow &other) |
Construct a new window information using other QCapturableWindow. | |
QCapturableWindow (QCapturableWindow &&other) noexcept=default | |
\qmlvaluetype CapturableWindow \nativetype QCapturableWindow | |
Q_MULTIMEDIA_EXPORT QCapturableWindow & | operator= (const QCapturableWindow &other) |
Moves other into this QCapturableWindow. | |
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP (QCapturableWindow) | |
void | swap (QCapturableWindow &other) noexcept |
Swaps the current window information with other. | |
Q_MULTIMEDIA_EXPORT bool | isValid () const |
\qmlproperty string QtMultimedia::CapturableWindow::isValid | |
Q_MULTIMEDIA_EXPORT QString | description () const |
\qmlproperty string QtMultimedia::CapturableWindow::description | |
Properties | |
QString | description |
bool | isValid |
Friends | |
class | QCapturableWindowPrivate |
Q_MULTIMEDIA_EXPORT friend bool | operator== (const QCapturableWindow &lhs, const QCapturableWindow &rhs) |
Returns true if window information lhs and rhs refer to the same window, otherwise returns false . | |
bool | operator!= (const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept |
Returns true if window information lhs and rhs refer to different windows, otherwise returns false . | |
Q_MULTIMEDIA_EXPORT friend QDebug | operator<< (QDebug dbg, const QCapturableWindow &window) |
\inmodule QtMultimedia
Used for getting the basic information of a capturable window.
The class contains a set of window information, except the method QCapturableWindow::isValid which pulls the current state whenever it's called.
Definition at line 19 of file qcapturablewindow.h.
|
default |
Constructs a null capturable window information that doesn't refer to any window.
|
default |
Destroys the window information.
|
default |
Construct a new window information using other QCapturableWindow.
|
defaultnoexcept |
\qmlvaluetype CapturableWindow \nativetype QCapturableWindow
The CapturableWindow type is used getting basic of a window that is available for capturing via WindowCapture.
\inqmlmodule QtMultimedia
The class contains a dump of window information, except the property 'isValid' which pulls the actual window state every time.
Constructs a QCapturableWindow by moving from other.
QString QCapturableWindow::description | ( | ) | const |
\qmlproperty string QtMultimedia::CapturableWindow::description
This property holds the description of the reffered window.
Returns a description of the window. In most cases it represents the window title.
Definition at line 129 of file qcapturablewindow.cpp.
bool QCapturableWindow::isValid | ( | ) | const |
\qmlproperty string QtMultimedia::CapturableWindow::isValid
This property identifies whether a window information is valid.
An invalid window information refers to non-existing window or doesn't refer to any one.
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.
Definition at line 115 of file qcapturablewindow.cpp.
|
default |
Moves other into this QCapturableWindow.
Assigns the other window information to this QCapturableWindow.
QCapturableWindow::QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP | ( | QCapturableWindow | ) |
|
inlinenoexcept |
Swaps the current window information with other.
Definition at line 37 of file qcapturablewindow.h.
|
friend |
Returns true
if window information lhs and rhs refer to different windows, otherwise returns false
.
Definition at line 42 of file qcapturablewindow.h.
|
friend |
Definition at line 146 of file qcapturablewindow.cpp.
|
friend |
Returns true
if window information lhs and rhs refer to the same window, otherwise returns false
.
Definition at line 95 of file qcapturablewindow.cpp.
|
friend |
Definition at line 55 of file qcapturablewindow.h.
|
read |
Definition at line 22 of file qcapturablewindow.h.
|
read |
Definition at line 23 of file qcapturablewindow.h.