##// END OF EJS Templates
Updating docs to reflect new examples....
Updating docs to reflect new examples. * Changed literalinclude paths to point to /examples. * Removed parallel options demo from parallel_demos.txt as it is now a notebook. Eventually we will find a way to integrate notebooks with the sphinx docs, but that is beyond the scope of this branch.

File last commit:

r9120:beaf07d3
r9200:daa73a3d
Show More
kernelmanager.py
32 lines | 944 B | text/x-python | PythonLexer
""" Defines a KernelManager that provides signals and slots.
"""
# Local imports.
from IPython.utils.traitlets import Type
from IPython.zmq.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)