QWhatsThisClickedEvent Class
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text. More...
Header: | #include <QWhatsThisClickedEvent> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Inherits: | QEvent |
Public Functions
QWhatsThisClickedEvent(const QString &href) | |
QString | href() const |
Detailed Description
See also QWhatsThis, QHelpEvent, and QStatusTipEvent.
Member Function Documentation
QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)
Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.
See also href().
QString QWhatsThisClickedEvent::href() const
Returns the URL that was clicked by the user in the "What's This?" text.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qwhatsthisclickedevent.html