Re: [PyQt] QTableView header connection

2009-03-19 Thread Gert-Jan
Thanks all, for the replies. Bugzilla from m...@qtrac.eu wrote: or if you just want to know the column that was clicked QtCore.SIGNAL(sectionClicked(int)) Yes, this was exactly what I was looking for, and it's working! Thanks a bunch! Cheers, Gert-Jan -- View this message in

Re: [PyQt] QTableView header connection

2009-03-18 Thread Till Gerken
On Wed, Mar 18, 2009 at 3:40 PM, Gert-Jan gj_den_hei...@hotmail.com wrote: Class GUI:        def __init__(self):                tableWidget = QtGui.QTableWidget()                # Code to insert 5 columns and make a horizontal header)                self.connect(tableWidget.horizontalHeader,

Re: [PyQt] QTableView header connection

2009-03-18 Thread Mads Ipsen
Hey all, Since I still haven't been able to http://www.nabble.com/Sorting-column-with-QComboBox-cellwidgets-td22499840.html automatically sort a column with combo boxes , and now have another column with special sorting conditions, I'd like to manually do the sorting. The problem is that

Re: [PyQt] QTableView header connection

2009-03-18 Thread Mark Summerfield
On 2009-03-18, Till Gerken wrote: On Wed, Mar 18, 2009 at 3:40 PM, Gert-Jan gj_den_hei...@hotmail.com wrote: Class GUI: def __init__(self): tableWidget = QtGui.QTableWidget() # Code to insert 5 columns and make a horizontal header)