QHelpEvent Class
The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget. More...
Header: | #include <QHelpEvent> |
qmake: | QT += gui |
Inherits: | QEvent |
Public Functions
QHelpEvent(QEvent::Type type, const QPoint &pos, const QPoint &globalPos) | |
const QPoint & | globalPos() const |
int | globalX() const |
int | globalY() const |
const QPoint & | pos() const |
int | x() const |
int | y() const |
- 6 public functions inherited from QEvent
Additional Inherited Members
Detailed Description
The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget.
This event can be intercepted in applications to provide tooltips or "What's This?" help for custom widgets. The type() can be either QEvent::ToolTip or QEvent::WhatsThis.
See also QToolTip, QWhatsThis, QStatusTipEvent, and QWhatsThisClickedEvent.
Member Function Documentation
QHelpEvent::QHelpEvent(QEvent::Type type, const QPoint &pos, const QPoint &globalPos)
Constructs a help event with the given type corresponding to the widget-relative position specified by pos and the global position specified by globalPos.
type must be either QEvent::ToolTip or QEvent::WhatsThis.
See also pos() and globalPos().