##// 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:

r9375:4d245182
r10248:5e33c149 merge
Show More
inprocess_kernelmanager.py
33 lines | 1.1 KiB | text/x-python | PythonLexer
/ IPython / frontend / qt / inprocess_kernelmanager.py
""" Defines an in-process KernelManager with signals and slots.
"""
# Local imports.
from IPython.kernel.inprocess.kernelmanager import \
InProcessShellChannel, InProcessIOPubChannel, InProcessStdInChannel, \
InProcessHBChannel, InProcessKernelManager
from IPython.utils.traitlets import Type
from base_kernelmanager import QtShellChannelMixin, QtIOPubChannelMixin, \
QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
class QtInProcessShellChannel(QtShellChannelMixin, InProcessShellChannel):
pass
class QtInProcessIOPubChannel(QtIOPubChannelMixin, InProcessIOPubChannel):
pass
class QtInProcessStdInChannel(QtStdInChannelMixin, InProcessStdInChannel):
pass
class QtInProcessHBChannel(QtHBChannelMixin, InProcessHBChannel):
pass
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
""" An in-process KernelManager with signals and slots.
"""
iopub_channel_class = Type(QtInProcessIOPubChannel)
shell_channel_class = Type(QtInProcessShellChannel)
stdin_channel_class = Type(QtInProcessStdInChannel)
hb_channel_class = Type(QtInProcessHBChannel)