IPython Documentation

Table Of Contents

Previous topic

Module: qt.console.completion_plain

Next topic

Module: qt.console.console_widget

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

Module: qt.console.completion_widget

A dropdown completer widget for the qtconsole.

1 Class

class IPython.qt.console.completion_widget.CompletionWidget(console_widget)

Bases: PySide.QtGui.QListWidget

A widget for GUI tab completion.

__init__(console_widget)

Create a completion widget that is attached to the specified Qt text edit widget.

eventFilter(obj, event)

Reimplemented to handle keyboard input and to auto-hide when the text edit loses focus.

hideEvent(event)

Reimplemented to disconnect signal handlers and event filter.

showEvent(event)

Reimplemented to connect signal handlers and event filter.

show_items(cursor, items)

Shows the completion widget with ‘items’ at the position specified by ‘cursor’.