IPython Documentation

Table Of Contents

Previous topic

Module: qt.base_frontend_mixin

Next topic

Module: qt.console.ansi_code_processor

This Page

Module: qt.client

Defines a KernelClient that provides signals and slots.

3 Classes

class IPython.qt.client.QtHBChannel(*args, **kw)

Bases: IPython.qt.util.SuperQObject, IPython.kernel.channels.HBChannel

call_handlers(since_last_heartbeat)

Reimplemented to emit signals instead of making callbacks.

class IPython.qt.client.QtZMQSocketChannel(socket, session, loop)

Bases: IPython.kernel.threaded.ThreadedZMQSocketChannel, IPython.qt.util.SuperQObject

A ZMQ socket emitting a Qt signal when a message is received.

call_handlers(msg)

This method is called in the ioloop thread when a message arrives.

It is important to remember that this method is called in the thread so that some logic must be done to ensure that the application level handlers are called in the application thread.

process_events()

Process any pending GUI events.

class IPython.qt.client.QtKernelClient(**kwargs)

Bases: IPython.qt.kernel_mixins.QtKernelClientMixin, IPython.kernel.threaded.ThreadedKernelClient

A KernelClient that provides signals and slots.