Forbid selection of the column of view(model/view )
When I show the QDirModel by QTableView
There will be four columns — Name, Size, Type, Date Modified
I don’t want the user be able to select Size, Type, and Date Modified
How could I disable the selection on specific columns?
The most easiest solution I could think of is design a delegate to
repaint the columns I don’t want the user to select
Thank you very much