title: Set text color of QTableWidgetItem (Qt)
body: <p><a href="https://doc.qt.io/qt-5/qtablewidgetitem.html" rel="noreferrer">QTableWidgetItem</a> has a method for setting the backgroundColor of a cell in the table, but no method for setting the text color of that cell.</p>
  
  <p>How do I change the text color of an arbitrary cell in a <code>QTableWidget</code>?</p>
  
  <p>Changing the color of text in <strong>all</strong> cells is as simple as using this stylesheet.</p>
  
  <pre><code>QTableWidget::item {
      color: red;
  }
  </code></pre>
  
  <p>But because the API is on the QTableWidget level (rather than QTableWidgetItem level), I find it impossible to target individual cells.</p>