title: How to hide some columns in a QTreeView?
body: <p>I have a <code>QTreeView</code> model, that model has four columns as the following (<code>Name</code>, <code>Size</code>, <code>Type</code>, <code>Data Modified</code>).</p>
  
  <p><img src="https://i.stack.imgur.com/pzqmi.jpg" alt=""></p>
  
  <p>I want is to remove the (<code>Size</code>, <code>Type</code>, <code>Data Modified</code>) columns, and leave only the column named <code>Name</code>.</p>
  
  <pre><code>QFileSystemModel *sysModel = new QFileSystemModel;
  sysModel-&gt;setRootPath("");
  sysModel-&gt;setFilter(QDir::Dirs | QDir::NoDotAndDotDot);
  ui-&gt;treeView-&gt;setModel(sysModel);
  </code></pre>
  
  <p>I want to know, What function is responsible for that?</p>