PyQt5. QtWidgets. QToolTip @ typing. The phrase "@ staticmethod def showText (pos: QPoint,
Text: STR,
Widgets: Optional [QWidget]=... ) - & gt; None
Possible types:
? (pos: QPoint, text: STR, widget: Optional [QWidget]) - & gt; None
? (pos: QPoint, text: STR, w: QWidget, the rect: QRect) - & gt; None
? (pos: QPoint, text: STR, w: QWidget, the rect: QRect, msecShowTime: int) - & gt; None
ShowText (QPoint, STR, widget: QWidget=None) showText (QPoint, STR, QWidget, QRect) showText (QPoint, STR, QWidget, QRect, int)
Now don't understand QWidget, QRect these two parameters of actual usage,
Hope can give QToolTip. ShowText instances of all parameters for your reference,