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()

창을 참조하지 않는 널 캡처 가능한 창 정보를 생성합니다.

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

창 정보가 유효한지 여부를 식별합니다.

유효하지 않은 창 정보는 존재하지 않는 창을 가리키거나 창을 참조하지 않습니다.

창이 유효하면 참을 반환하고 유효하지 않으면 거짓을 반환합니다.

참고: isValid 속성에 대한 게터 함수.

[noexcept] void QCapturableWindow::swap(QCapturableWindow &other)

현재 창 정보를 other 로 바꿉니다.

[noexcept] QCapturableWindow &QCapturableWindow::operator=(QCapturableWindow &&other)

otherQCapturableWindow 으로 이동합니다.

QCapturableWindow &QCapturableWindow::operator=(const QCapturableWindow &other)

other 창 정보를 이 QCapturableWindow 에 할당합니다.

관련 비회원

[noexcept] bool operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs)

창 정보 lhsrhs 가 서로 다른 창을 참조하는 경우 true 를 반환하고, 그렇지 않으면 false 를 반환합니다.

[noexcept] bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs)

창 정보 lhsrhs 가 동일한 창을 참조하는 경우 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.