<class name="QHelpEvent" doc="/** <p>The <a href="QHelpEvent.html#QHelpEvent(com.trolltech.qt.core.QEvent.Type, com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)"><tt>QHelpEvent</tt></a> class provides an event that is used to request helpful information about a particular point in a widget.</p> <p>This event can be intercepted in applications to provide tooltips or &quot;What's This?&quot; help for custom widgets. The <a href="%2E%2E/core/%2E%2E/core/QEvent.html#type()"><tt>type</tt></a> can be either QEvent::ToolTip or QEvent::WhatsThis.</p> @see <a href="QToolTip.html"><tt>QToolTip</tt></a> @see <a href="QWhatsThis.html"><tt>QWhatsThis</tt></a> @see <a href="QStatusTipEvent.html"><tt>QStatusTipEvent</tt></a> @see <a href="QWhatsThisClickedEvent.html"><tt>QWhatsThisClickedEvent</tt></a> */"> <method name="public QHelpEvent(com.trolltech.qt.core.QEvent.Type type, com.trolltech.qt.core.QPoint pos, com.trolltech.qt.core.QPoint globalPos)" doc="/** <p>Constructs a help event with the given <tt>type</tt> corresponding to the widget-relative position specified by <tt>pos</tt> and the global position specified by <tt>globalPos</tt>.</p> <p><tt>type</tt> must be either QEvent::ToolTip or QEvent::WhatsThis.</p> @see <a href="QHelpEvent.html#pos()"><tt>pos</tt></a> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPoint globalPos()" doc="/** <p>Returns the mouse cursor position when the event was generated in global coordinates.</p> @see <a href="QHelpEvent.html#pos()"><tt>pos</tt></a> @see <a href="QHelpEvent.html#globalX()"><tt>globalX</tt></a> @see <a href="QHelpEvent.html#globalY()"><tt>globalY</tt></a> */"/> <method name="public final int globalX()" doc="/** <p>Same as <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a>.<a href="QHelpEvent.html#x()"><tt>x</tt></a>.</p> @see <a href="QHelpEvent.html#x()"><tt>x</tt></a> @see <a href="QHelpEvent.html#globalY()"><tt>globalY</tt></a> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> */"/> <method name="public final int globalY()" doc="/** <p>Same as <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a>.<a href="QHelpEvent.html#y()"><tt>y</tt></a>.</p> @see <a href="QHelpEvent.html#y()"><tt>y</tt></a> @see <a href="QHelpEvent.html#globalX()"><tt>globalX</tt></a> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPoint pos()" doc="/** <p>Returns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched.</p> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> @see <a href="QHelpEvent.html#x()"><tt>x</tt></a> @see <a href="QHelpEvent.html#y()"><tt>y</tt></a> */"/> <method name="public final int x()" doc="/** <p>Same as <a href="QHelpEvent.html#pos()"><tt>pos</tt></a>.<a href="QHelpEvent.html#x()"><tt>x</tt></a>.</p> @see <a href="QHelpEvent.html#y()"><tt>y</tt></a> @see <a href="QHelpEvent.html#pos()"><tt>pos</tt></a> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> */"/> <method name="public final int y()" doc="/** <p>Same as <a href="QHelpEvent.html#pos()"><tt>pos</tt></a>.<a href="QHelpEvent.html#y()"><tt>y</tt></a>.</p> @see <a href="QHelpEvent.html#x()"><tt>x</tt></a> @see <a href="QHelpEvent.html#pos()"><tt>pos</tt></a> @see <a href="QHelpEvent.html#globalPos()"><tt>globalPos</tt></a> */"/> </class>