title: qtablewidget get new value after hitting "return"
body: <p>i have a qtablewidget which is updated asynchronosly.
  now i am trying to set new values into the cells and read them back after hitting &quot;enter/return&quot;. i have a function that catches the keypressevent and try to read the actual value from the cell that was changed.<br>
  the problem: i only get the previous value of the cell, not the new entered value, because the function is called when the enter key is pressed which is right before the cell is updated whith the new value. i cannot use <code>itemChanged().connect</code> because the table is also changed from another proccess and i only want to catch my own changes. <br></p>
  <p><a href="https://i.stack.imgur.com/s9hub.png" rel="nofollow noreferrer">old value (before editing value)</a> <br>
  <a href="https://i.stack.imgur.com/yArB2.png" rel="nofollow noreferrer">editing the value and hit enter</a></p>
  <p>function that is called after hitting  return:</p>
  <pre class="lang-py prettyprint-override"><code>    def tableOnKeyPressEvent(self, event):
          if event.key() == Qt.Key.Key_Return or event.key() == Qt.Key.Key_Enter:
              for a in self.CmdtableWidget.selectedItems():
                  print(a.text())     # prints only 789, not 123      
              QTableWidget.keyPressEvent(self.CmdtableWidget, event)      # pass on the keyPressEvent to the table
  
  </code></pre>