QTableView: interactive column resize without QHeaderView
Unsolved
General and Desktop
-
I have a
QTableView
with a hidden horizontal headertable->horizontalHeader()->hide();
As you can see, the text in the central column is clipped because of the column width.
To view the text, the user would need to resize the column, but without a header, I am unable to do this.
What I would like to be able to do is hover my mouse over the edge of the column and have the normal resize icon appear, and then allow the user to drag the column wider.
Is this possible?
-
Hi,
From the top of my head, you would need to implement the detection logic and movement handling from QHeaderView within QTableView.