Column width in QTableWidget
I have a 3 column QTableWidget object. I specified the width of the 1st and 3rd columns, but I want the width of the 2nd column to just expand as far as the layout will allow. Is that possible, or do I have to apply a fixed numeric width to the 2nd column?
What you want is possible for the last column using "stretchlastsection":http://doc.qt.nokia.com/4.7/qheaderview.html#stretchLastSection-prop
Afaik for another column you will have to calculate the width yourself as you suggested.