title: QTableView/QTableWidget grid stylesheet - grid line width
body: <p>I would like to display table in Qt with specific style. I want to draw all grid lines with same color and same width. </p>
  
  <p>Problem is, that it is hard to style <code>QHeaderView</code>. All the time, I get 2px grid width or no grid at all.</p>
  
  <p>I Have folowing window with one QTableWIdget</p>
  
  <p><img src="https://i.stack.imgur.com/6m3nr.png" alt="QTableWidget"></p>
  
  <p>and asociated styleSheet</p>
  
  <pre><code>QWidget {
      background-color: #333333;
      color: #fffff8;
  }
  
  QHeaderView::section {
      background-color: #646464;
      padding: 4px;
      border: 1px solid #fffff8;
      font-size: 14pt;
  }
  
  QTableWidget {
      gridline-color: #fffff8;
      font-size: 12pt;
  }
  
  QTableWidget QTableCornerButton::section {
      background-color: #646464;
      border: 1px solid #fffff8;
  }
  </code></pre>
  
  <p>Are there any tricks to have all grid lines 1px width? I'm using 4.8.5 and I can't upgrade to version 5.x.</p>