Adding checkBox as vertical header in QtableView
I am trying to have a QTableView of checkboxes, so I can use them for row selections... I have managed to do that, now I want the header Itself to be checkbox so I can check/Uncheck All or any row . I have been looking for days, but couldn't get to do it. I tried to use setHeaderData to the model, but couldn't do it. Any help would be appreciated. three_pineapples I wasn't particularly happy with the C++ version that @tmoreau ported to Python as it didn't: handle more than one column handle custom header heights (for example multi-line header text) use a tri-state checkbox work with sorting So