title: Set the header text of a QTreeView header
body: <p>I have the same problem as:</p>
  
  <p><a href="https://stackoverflow.com/questions/9943866/what-is-the-method-to-set-the-text-for-a-qtreewidgets-header">What is the method to set the text for a QTreeWidget&#39;s header?</a></p>
  
  <p>with one difference: I'm using a treeView, not tree widget, so the answer there didn't help.</p>
  
  <p>I couldn't find in the documentation any instructions how to it.</p>
  
  <p>So - how can I set the header text of a QTreeView?</p>