Is it possible to create a QTreeView without header :
model->setHeaderData(0, Qt::Horizontal, "Mois");
model->setHeaderData(1, Qt::Horizontal, "Facture");
model = new QStandardItemModel(0, 2, this);
model->setHeaderData(0, Qt::Horizontal, "Mois");
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 ?
Bookmarks