PySide6.QtGui.QHelpEvent¶
- class QHelpEvent¶
- The - QHelpEventclass provides an event that is used to request helpful information about a particular point in a widget.- Details- 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 - Synopsis¶- Methods¶- def - __init__()
- def - globalPos()
- def - globalX()
- def - globalY()
- def - pos()
- def - x()
- def - y()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - __init__(arg__1)¶
- Parameters:
- arg__1 – - QHelpEvent
 
 - Constructs a help event with the given - typecorresponding to the widget-relative position specified by- posand the global position specified by- globalPos.- typemust be either QEvent::ToolTip or QEvent::WhatsThis.- See also - Returns the mouse cursor position when the event was generated in global coordinates. - globalX()¶
- Return type:
- int 
 
 - Same as - globalPos().- x().- See also - globalY()¶
- Return type:
- int 
 
 - Same as - globalPos().- y().- See also - Returns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched. - See also - x()¶
- Return type:
- int 
 
 - Same as - pos().x().- See also - y()¶
- Return type:
- int 
 
 - Same as - pos().y().- See also