Is it possible to create a QTreeView without header :
Qt Code:
  1. model = new QStandardItemModel(0, 2, this);
  2. model->setHeaderData(0, Qt::Horizontal, "Mois");
  3. model->setHeaderData(1, Qt::Horizontal, "Facture");
To copy to clipboard, switch view to plain text mode 


I used this code for the model, but if I remove setHeaderData it add new labels anyway that are the column numbers ?

How can have only the data rows and no header ?