I want to know whether a column of a QTableWidget is being resized by mouse. How can I emit a signal whenever any of the columns is resized?
Asked
Active
Viewed 3,871 times
1 Answers
12
Column resizing is performed by the horizontal QHeaderView
. Access it by calling QTableWidget::horizontalHeader() const
, and the signal you are interested in is QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)
.

cmannett85
- 21,725
- 8
- 76
- 119
-
Thanks a lot @cmannett85. It's great to have a working answer. – fatma.ekici Feb 04 '13 at 06:34