The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget. More...
|qmake:||QT += gui|
|QHelpEvent(QEvent::Type type, const QPoint &pos, const QPoint &globalPos)|
|const QPoint &||globalPos() const|
|const QPoint &||pos() const|
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.
const QPoint &QHelpEvent::globalPos() const
Returns the mouse cursor position when the event was generated in global coordinates.
const QPoint &QHelpEvent::pos() const
Returns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched.
Same as pos().x().
Same as pos().y().
© 2020 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.