title: PyQt update a certain cell in a QTableWidget
body: <p>I have a table that looks like this:</p>
  
  <pre><code>================================
  |Checkbox| Account_name | Info |
  ================================
  </code></pre>
  
  <p>When I select an account I want to update on that account the "Info" cell with a text, for example <code>Selected</code>
  This how I build my table:</p>
  
  <pre><code>        self.mainAccountTable.setCellWidget(currentRowCount, 0, pWidget)
          self.mainAccountTable.setItem(currentRowCount, 1, QTableWidgetItem(name[1]))
          self.mainAccountTable.setItem(currentRowCount, 2, QTableWidgetItem(info[2]))
  </code></pre>
  
  <p>This is how I know which accounts are checked (it a method that is monitoring the clicks and it's connected to the table widget):</p>
  
  <pre><code>for account in range(self.mainAccountTable.rowCount()):
     if self.mainAccountTable.cellWidget(account, 0).findChild(type(QCheckBox())).isChecked():
  </code></pre>
  
  <p>but How I can update for checked account the "Info" cell with particular message? I tried :
  self.mainAccountTable.setItem(self.mainAccountTable.item(account, 2).text("Selected"))</p>
  
  <pre><code>===================================
  |Checked| Account_name | Selected |
  ===================================
  </code></pre>