title: Passing data from a QThread to another QThread
body: <p>I have a situation where a Gui is active and a QThread.
  The QThread is getting and saving data in the background all the time, it should not stop doing this.
  Now I want to process the latest data from the QThread without interrupting the QThread or freezing the Gui.</p>
  
  <p>So I think I need another thread to do this?!
  How can I pass its data to another thread and do something with it?</p>
  
  <pre><code>import sys, random, time
  from PyQt5 import QtWidgets
  from PyQt5.QtCore import  *
  
  
  class Ui(QtWidgets.QMainWindow):
      def __init__(self):
          super(Ui, self).__init__()
          self.setWindowTitle('Window')
  
          #getData
          self.myGetData = getData()
          self.myGetData.start()
  
          self.show()
  
  class getData(QThread):
      #This Thread should run all the time
      def run(self):
          while True:
              myNumber = random.randint(0, 100)
              #He 'processData Thread'!! Do Something with mynumber!!
              time.sleep(1)
  
  class processData(QThread):
      def processNumber(self, myNumber):
          #Extremly complex code will execute while 'getData' is doing its thing.
          newNumber = myNumber * 10
          return newNumber
  
  if __name__ == '__main__':
      app = QtWidgets.QApplication(sys.argv)
      window = Ui()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>Found a lot of examples on how to pass data from a QThread to the interface (signals).. But not the other way around.
  The signals are confusing me a bit in this case..</p>