title: How to find out to which QTableWidget a QPushbutton belongs to?
body: <p>I have two <code>QTableWidgetItems</code>. Each has multiple <code>QPushButtons</code> set as cell widget in it. </p>
  
  <p>Currently, for one <code>QTableWidget</code> I am using <code>self.sender()</code> to find out the row and column of the button that is being pressed:</p>
  
  <pre><code>button = self.sender()
  index = self.Table.indexAt(button.pos())
  currentRow = index.row()
  mydata = str(self.Table.item(currentRow, 2).text())
  </code></pre>
  
  <p>However, I would like to connect the <code>QpushButtons</code> of both tables to the same function. So, if I have table A and table B both having the QPushButtons connected to the same function. </p>
  
  <p>How can I then know if a button belongs to table A or table B when it is being clicked?</p>