The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget. More...
#include <QHelpEvent>
Inherits: QEvent.
QHelpEvent ( 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 |
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.
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().
Returns the mouse cursor position when the event was generated in global coordinates.
See also pos(), globalX(), and globalY().
See also x(), globalY(), and globalPos().
See also y(), globalX(), and globalPos().
Returns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched.
See also globalPos(), x(), and y().
Same as pos().x().
See also y(), pos(), and globalPos().
Same as pos().y().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.