The PySide.QtGui.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 PySide.QtCore.QEvent.type() can be either QEvent.ToolTip or QEvent.WhatsThis .
See also
PySide.QtGui.QToolTip PySide.QtGui.QWhatsThis PySide.QtGui.QStatusTipEvent PySide.QtGui.QWhatsThisClickedEvent
Parameters: |
|
---|
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 .
Return type: | PySide.QtCore.QPoint |
---|
Returns the mouse cursor position when the event was generated in global coordinates.
Return type: | PySide.QtCore.int |
---|
Same as PySide.QtGui.QHelpEvent.globalPos() . PySide.QtGui.QHelpEvent.x() .
Return type: | PySide.QtCore.int |
---|
Same as PySide.QtGui.QHelpEvent.globalPos() . PySide.QtGui.QHelpEvent.y() .
Return type: | PySide.QtCore.QPoint |
---|
Returns the mouse cursor position when the event was generated, relative to the widget to which the event is dispatched.
Return type: | PySide.QtCore.int |
---|
Same as PySide.QtGui.QHelpEvent.pos() . PySide.QtGui.QHelpEvent.x() .
Return type: | PySide.QtCore.int |
---|
Same as PySide.QtGui.QHelpEvent.pos() . PySide.QtGui.QHelpEvent.y() .