Re: [PyQt] Sending a Signal from a QTableWidget header

2012-01-24 Thread Hans-Peter Jansen
On Tuesday 24 January 2012, 00:37:31 starglider.dev wrote: > Hi Pete, > thank you for your help. > I found the anwser in Mark Summerfield's book: Good choice. > chapter 14 in file ships-delegate.pyw > Here is the code: > header = tableView.horizontalHeader() > self.connect

Re: [PyQt] Sending a Signal from a QTableWidget header

2012-01-22 Thread Hans-Peter Jansen
On Sunday 22 January 2012, 16:38:21 Hans-Peter Jansen wrote: > On Saturday 21 January 2012, 23:21:18 starglider.dev wrote: > > Hi, > > I need to open a dialog if the user click in the QTableWidget > > header. > > There's no such class in PyQt (nor in Qt). If you mean QTable, then > QHeader.clicked(

Re: [PyQt] Sending a Signal from a QTableWidget header

2012-01-22 Thread Hans-Peter Jansen
On Saturday 21 January 2012, 23:21:18 starglider.dev wrote: > Hi, > I need to open a dialog if the user click in the QTableWidget header. There's no such class in PyQt (nor in Qt). If you mean QTable, then QHeader.clicked() is proably, wat you're looking for. Pete ___