QWhatsThisClickedEvent Class
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text. 更多...
头文件: | #include <QWhatsThisClickedEvent> |
qmake: | QT += gui |
基类: | QEvent |
公有函数
QWhatsThisClickedEvent(const QString &href) | |
QString | href() const |
- 6 个公有函数继承自 QEvent
其他继承的成员
详细描述
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
参见 QWhatsThis, QHelpEvent, and QStatusTipEvent.
成员函数
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.
参见 href().
QString QWhatsThisClickedEvent::href() const
Returns the URL that was clicked by the user in the "What's This?" text.