[IPython-dev] make ctrl-c stop causing a crash exit with %gui and PyQt5

Thomas Kluyver takowl at gmail.com
Fri May 8 21:16:22 EDT 2015


On 8 May 2015 at 17:58, Erik Hvatum <ice.rikh at gmail.com> wrote:

> Pull request created: https://github.com/ipython/ipython/pull/8421
>

Thanks!


> FYI, the inputhook.py file in question lives in the main IPython repo.
> This doesn't seem to impact qtconsole with IPython kernel running in a
> different thread, although it may actually come into play if one sends an
> interrupt signal directly to the kernel after causing the kernel to install
> Qt event loop integration.
>

My mistake, I was replying too quickly without thinking properly about
which bit of code was involved.


> Regarding qtconsole itself, is it possible to use a style sheet to disable
> text antialiasing, set window opacity, and select theme?


It looks like there are config options IPythonQtConsoleApp.stylesheet and
IPythonWidget.style_sheet - I'm not sure what the difference is, but have a
play around with them.

http://ipython.org/ipython-doc/3/config/options/qtconsole.html

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150508/34242764/attachment.html>


More information about the IPython-dev mailing list