jeudi 14 janvier 2016

How to hide checkbox on a PyQt4 QTableView

Am using PyQt4 library in a python application, I have a QTableView and QListView that share a QStandardItemModel for data management. I've setCheckable(True) in the QStandardItemModel that means all the views are showing a checkbox in each row.

My problem is I want the checkboxes to appear on the QListView only, how can I archive this?

Regards

Paul




Aucun commentaire:

Enregistrer un commentaire