Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: qt.console.call_tip_widget
¶
1 Class¶
-
class
IPython.qt.console.call_tip_widget.
CallTipWidget
(text_edit)¶ Bases:
PyQt4.QtGui.QLabel
Shows call tips by parsing the current text of Q[Plain]TextEdit.
-
__init__
(text_edit)¶ Create a call tip manager that is attached to the specified Qt text edit widget.
-
enterEvent
(event)¶ Reimplemented to cancel the hide timer.
-
eventFilter
(obj, event)¶ Reimplemented to hide on certain key presses and on text edit focus changes.
-
hideEvent
(event)¶ Reimplemented to disconnect signal handlers and event filter.
-
leaveEvent
(event)¶ Reimplemented to start the hide timer.
-
paintEvent
(event)¶ Reimplemented to paint the background panel.
-
setFont
(font)¶ Reimplemented to allow use of this method as a slot.
-
showEvent
(event)¶ Reimplemented to connect signal handlers and event filter.
-
show_inspect_data
(content, maxlines=20)¶ Show inspection data as a tooltip
-
show_tip
(tip)¶ Attempts to show the specified tip at the current cursor location.
-
timerEvent
(event)¶ Reimplemented to hide the widget when the hide timer fires.
-