title: How do you set the column width on a QTreeView?
body: <p>Bear with me, I'm still new to QT and am having trouble wrapping my brain around how it does things.</p>
  
  <p>I've created and populated a QTreeView with two columns:</p>
  
  <pre><code>class AppForm(QMainWindow):
      def __init__(self, parent = None):
          super(AppForm, self).__init__(parent)
          self.model = QStandardItemModel()
          self.view = QTreeView()
          self.view.setColumnWidth(0, 800)
          self.view.setEditTriggers(QAbstractItemView.NoEditTriggers)
          self.view.setModel(self.model)
          self.setCentralWidget(self.view)
  </code></pre>
  
  <p>Everything's working great, except the columns are extremely narrow. I hoped that setColumnWidth(0, 800) would widen the first column, but it doesn't seem to be having any effect. What's the proper method for setting column widths?</p>