##// END OF EJS Templates
Removing unneeded ui-widget class.
Removing unneeded ui-widget class.

File last commit:

r8471:bd40426d
r9160:91fe0891
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.inprocess.kernelmanager import \
ShellInProcessChannel, SubInProcessChannel, StdInInProcessChannel, \
HBInProcessChannel, InProcessKernelManager
from IPython.utils.traitlets import Type
from base_kernelmanager import QtShellChannelMixin, QtSubChannelMixin, \
QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
class QtShellInProcessChannel(QtShellChannelMixin, ShellInProcessChannel):
pass
class QtSubInProcessChannel(QtSubChannelMixin, SubInProcessChannel):
pass
class QtStdInInProcessChannel(QtStdInChannelMixin, StdInInProcessChannel):
pass
class QtHBInProcessChannel(QtHBChannelMixin, HBInProcessChannel):
pass
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
""" An in-process KernelManager with signals and slots.
"""
sub_channel_class = Type(QtSubInProcessChannel)
shell_channel_class = Type(QtShellInProcessChannel)
stdin_channel_class = Type(QtStdInInProcessChannel)
hb_channel_class = Type(QtHBInProcessChannel)