이 페이지에서

QIconDragEvent Class

QIconDragEvent 클래스는 메인 아이콘 드래그가 시작되었음을 나타냅니다. 더 보기...

헤더: #include <QIconDragEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
상속: QEvent

공개 함수

보호된 함수

QIconDragEvent(QIconDragEvent &&)
QIconDragEvent &operator=(QIconDragEvent &&)
QIconDragEvent &operator=(const QIconDragEvent &other)

상세 설명

아이콘 드래그 이벤트는 창의 메인 아이콘이 밖으로 드래그되었을 때 위젯으로 전송됩니다. macOS에서는 창의 프록시 아이콘이 제목 표시줄 밖으로 드래그되었을 때 이 이벤트가 발생합니다.

이 이벤트에 반응하여 드래그 앤 드롭을 시작하는 것이 일반적입니다.

‘드래그 앤 드롭(Drag and Drop)’, ‘ QMimeData ’ 및 ‘ QDrag ’항목도 참조하십시오 .

멤버 함수 문서

QIconDragEvent::QIconDragEvent()

accept 플래그가 false로 설정된 아이콘 드래그 이벤트 객체를 생성합니다.

accept()도 참조하십시오 .

[protected delete] QIconDragEvent::QIconDragEvent(QIconDragEvent &&)

QIconDragEvent 의 인스턴스를 move-construct로 생성합니다. 이 함수는 삭제되었습니다.

[protected delete] QIconDragEvent &QIconDragEvent::operator=(QIconDragEvent &&)

other 를 이 QIconDragEvent 인스턴스에 할당합니다. 이 함수는 삭제되었습니다.

[noexcept protected default] QIconDragEvent &QIconDragEvent::operator=(const QIconDragEvent &other)

other 를 이 QIconDragEvent 인스턴스에 복사-할당합니다.

© 2026 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.