title: Trying to Add Items to QTableWidget from QThread Works but Throws Error
body: <p>I have to update my QTableWidget, but it has a ton of data so I threaded updating it:</p>
  
  <pre><code>self.vthread = visualThread(self.data_view, data)
  self.vthread.start()
  </code></pre>
  
  <p><code>self.data_view</code> is a QTableWidget, and <code>data</code> is a class object which has some list attributes I need to iterate through and put in the table. This is the thread:</p>
  
  <pre><code>class visualThread(QThread):
  
      def __init__(self, view, data):
          QThread.__init__(self)
          self.view = view
          self.data= data
  
      def __del__(self):
          self.wait()
  
      def run(self):
          for y in range(len(self.data.axis[0])):
              for x in range(len(self.data.axis[0])):
                  self.view.setItem(x, y, QTableWidgetItem(str(maintain_order_sort(self.data.data_array[x][y][::-1]))))
  </code></pre>
  
  <p><code>maintain_order_sort</code> just reorganizes the string.
  This is my output:</p>
  
  <pre><code>QObject::connect: Cannot queue arguments of type 'QVector&lt;int&gt;'
  (Make sure 'QVector&lt;int&gt;' is registered using qRegisterMetaType().)
  QObject::connect: Cannot queue arguments of type 'QVector&lt;int&gt;'
  (Make sure 'QVector&lt;int&gt;' is registered using qRegisterMetaType().)
  QObject::connect: Cannot queue arguments of type 'QVector&lt;int&gt;'
  (Make sure 'QVector&lt;int&gt;' is registered using qRegisterMetaType().)
  QObject::connect: Cannot queue arguments of type 'QVector&lt;int&gt;'
  (Make sure 'QVector&lt;int&gt;' is registered using qRegisterMetaType().)
  QObject::connect: Cannot queue arguments of type 'QVector&lt;int&gt;'
  (Make sure 'QVector&lt;int&gt;' is registered using qRegisterMetaType().)
  </code></pre>
  
  <p>I've tried adding signals (I have another thread that works with signals, this is the only error one), and I've pinpointed the error down to <code>setItem()</code>. TIA</p>