##// END OF EJS Templates
Merge pull request #3189 from juhasch/improve-completer...
Merge pull request #3189 from juhasch/improve-completer fix notebook completer redraw on metakey press - set <select> tag to style="width: auto" to fit complete autocomplete string in drop down menu - handle special keys better, so shift, ctrl, pgup, pgdown et al work as expected in the drop down list (i.e. pgup/pgdown/home/end move selection, shift, ctrl, caps lock do not restart the drop down menu)

File last commit:

r9370:52c32402
r10248:5e33c149 merge
Show More
kernelmanager.py
32 lines | 947 B | text/x-python | PythonLexer
""" Defines a KernelManager that provides signals and slots.
"""
# Local imports.
from IPython.utils.traitlets import Type
from IPython.kernel.kernelmanager import ShellChannel, IOPubChannel, \
StdInChannel, HBChannel, KernelManager
from base_kernelmanager import QtShellChannelMixin, QtIOPubChannelMixin, \
QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
class QtShellChannel(QtShellChannelMixin, ShellChannel):
pass
class QtIOPubChannel(QtIOPubChannelMixin, IOPubChannel):
pass
class QtStdInChannel(QtStdInChannelMixin, StdInChannel):
pass
class QtHBChannel(QtHBChannelMixin, HBChannel):
pass
class QtKernelManager(QtKernelManagerMixin, KernelManager):
""" A KernelManager that provides signals and slots.
"""
iopub_channel_class = Type(QtIOPubChannel)
shell_channel_class = Type(QtShellChannel)
stdin_channel_class = Type(QtStdInChannel)
hb_channel_class = Type(QtHBChannel)