I'd like to manage width of my columns in a table personally, but after resizing them from the code, I cannot figure out a way to prevent user from resizing them manually. I found out that QTableView
has the columnResized()
slot, and the only ways to do it I see are either subclassing QTableWidget
or resizing columns again and again on the timer event.
Might there be an easier way?