title: How to create columns header and its labels with QTableView
body: <p>The code below creates a simple <code>QTableView</code> with a header and three <code>QStandardItem</code>s.
  <strong>Question</strong>: How to make its header to have three columns labeled as "Column 0", 'Column 1" and "Column 3"? </p>
  
  <p><img src="https://i.stack.imgur.com/afr8u.png" alt="enter image description here"></p>
  
  <pre><code>import os,sys
  from PyQt4 import QtCore, QtGui
  app=QtGui.QApplication(sys.argv)
  class Window(QtGui.QTableView):
      def __init__(self):
          super(Window, self).__init__() 
          header=QtGui.QHeaderView(QtCore.Qt.Horizontal, self)
          self.setHorizontalHeader(header)
          model=QtGui.QStandardItemModel()
          for i in range(3):
              model.appendRow(QtGui.QStandardItem('Item %s'%i))
          self.setModel(model)  
          self.show()
  
  window=Window()
  sys.exit(app.exec_())
  </code></pre>