이 페이지에서

QWhatsThisClickedEvent Class

QWhatsThisClickedEvent 클래스는 “이게 뭐죠?” 텍스트 내의 하이퍼링크를 처리하는 데 사용할 수 있는 이벤트를 제공합니다. 더 보기...

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

공개 함수

QWhatsThisClickedEvent(const QString &href)
QString href() const

보호된 함수

QWhatsThisClickedEvent(QWhatsThisClickedEvent &&)
QWhatsThisClickedEvent &operator=(QWhatsThisClickedEvent &&)
QWhatsThisClickedEvent &operator=(const QWhatsThisClickedEvent &other)

상세 설명

QWhatsThis, QHelpEvent 및 QStatusTipEvent도 참조하십시오 .

멤버 함수 설명

[explicit] QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)

“이게 뭐죠?” 메시지 내의 링크가 클릭되면 href 에 지정된 URL을 포함하는 이벤트를 생성합니다.

href()도 참조하십시오 .

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

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

QString QWhatsThisClickedEvent::href() const

"이게 뭐죠?" 텍스트에서 사용자가 클릭한 URL을 반환합니다.

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

other 를 이 QWhatsThisClickedEvent 인스턴스에 할당합니다. 이 함수는 삭제됩니다.

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

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

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