##// END OF EJS Templates
BUG: QtKernelManagerMixin does not define PyQt4-safe signals.
BUG: QtKernelManagerMixin does not define PyQt4-safe signals.

File last commit:

r8456:346e7abc
r8456:346e7abc
Show More
embedded_kernelmanager.py
33 lines | 1.1 KiB | text/x-python | PythonLexer
/ IPython / frontend / qt / embedded_kernelmanager.py
epatters
Refactor kernel managers in preparation for the EmbeddedKernel.
r8408 """ Defines an embedded KernelManager that provides signals and slots.
"""
# Local imports.
from IPython.embedded.kernelmanager import \
ShellEmbeddedChannel, SubEmbeddedChannel, StdInEmbeddedChannel, \
HBEmbeddedChannel, EmbeddedKernelManager
from IPython.utils.traitlets import Type
from base_kernelmanager import QtShellChannelMixin, QtSubChannelMixin, \
QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
class QtShellEmbeddedChannel(QtShellChannelMixin, ShellEmbeddedChannel):
pass
class QtSubEmbeddedChannel(QtSubChannelMixin, SubEmbeddedChannel):
pass
class QtStdInEmbeddedChannel(QtStdInChannelMixin, StdInEmbeddedChannel):
pass
class QtHBEmbeddedChannel(QtHBChannelMixin, HBEmbeddedChannel):
pass
epatters
BUG: QtKernelManagerMixin does not define PyQt4-safe signals.
r8456 class QtEmbeddedKernelManager(QtKernelManagerMixin, EmbeddedKernelManager):
epatters
Refactor kernel managers in preparation for the EmbeddedKernel.
r8408 """ An embedded KernelManager that provides signals and slots.
"""
sub_channel_class = Type(QtSubEmbeddedChannel)
shell_channel_class = Type(QtShellEmbeddedChannel)
stdin_channel_class = Type(QtStdInEmbeddedChannel)
hb_channel_class = Type(QtHBEmbeddedChannel)