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:
PySide.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_call_info
(call_line=None, doc=None, maxlines=20)¶ Attempts to show the specified call line and docstring at the current cursor location. The docstring is possibly truncated for length.
-
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.
-