Re: [PyQt] Minimum column width for 'QTableView'

2012-03-15 Thread sbremal
. > From: sbre...@hotmail.com > To: pyqt@riverbankcomputing.com > Date: Thu, 15 Mar 2012 17:06:38 + > Subject: Re: [PyQt] Minimum column width for 'QTableView' > > > Actually, what I am looking for is a function like: > > model.horizontalHeader().se

Re: [PyQt] Minimum column width for 'QTableView'

2012-03-15 Thread sbremal
:25 + > Subject: [PyQt] Minimum column width for 'QTableView' > > > Hello > > wonder if there is an easy way to tell 'QTableView' what the minimum column > width should be. > > 'resizeColumnsToContents' does not really do wh

[PyQt] Minimum column width for 'QTableView'

2012-03-15 Thread sbremal
Hello wonder if there is an easy way to tell 'QTableView' what the minimum column width should be. 'resizeColumnsToContents' does not really do what we want. Often we start with an empty table and in this case 'resizeColumnsToContents' would make the columns too narrow. The same applies whe