title: How to change IPython traceback mode with Qt event loop integration
body: <p>I can change the verbosity of the traceback in IPython using the <code>%xmode</code> <a href="http://ipython.org/ipython-doc/dev/interactive/magics.html#magic-gui" rel="nofollow">magic</a>. But this doesn't seem to affect the traceback when using GUI event loop integration. For example:</p>
  
  <pre><code>%gui qt
  from PyQt4 import QtGui
  button = QtGui.QPushButton('test')
  def test():
      a = [1, 2]
      b = [3, 4]
      return a * b
  button.clicked.connect(test)
  button.show()
  </code></pre>
  
  <p>Upon clicking the button, the traceback looks mostly like the 'Plain' mode, and cycling through the different modes with <code>%xmode</code> doesn't do anything. How do I change the traceback mode to something like 'Verbose'?</p>