title: Thread error in Python & PyQt
body: <p>I noticed that when the function <a href="http://doc.trolltech.com/4.0/qabstractitemview.html#setModel" rel="nofollow noreferrer">setModel</a> is executed in parallel thread (I tried threading.Timer or threading.thread), I get this:</p>
  
  <pre><code>QObject: Cannot create children for a parent that is in a different thread.
  (Parent is QHeaderView(0x1c93ed0), parent's thread is QThread(0xb179c0), current thread is QThread(0x23dce38)
  QObject::startTimer: timers cannot be started from another thread
  QObject: Cannot create children for a parent that is in a different thread.
  (Parent is QTreeView(0xc65060), parent's thread is QThread(0xb179c0), current thread is QThread(0x23dce38)
  QObject::startTimer: timers cannot be started from another thread
  </code></pre>
  
  <p>Is there any way to solve this?</p>