Re: [PyQt] connection to list view and combo pyqt

2008-01-23 Thread Peter Liedler
I am still fighting to get connected to a selectionChanged signal of a listView. If I understand the qt documentation, the QItemSelection is generated automatically by filling the index to the model and defining the model to the list. I think I do so by: Defining the model class: class

Re: [PyQt] connection to list view and combo pyqt

2008-01-23 Thread Peter Liedler
Sorry, no sucess here. I don't get it. Peter On Mit, 2008-01-23 at 18:28 +0100, David Boddie wrote: On Wed Jan 23 17:08:15 GMT 2008, Peter Liedler wrote: I am still fighting to get connected to a selectionChanged signal of a listView. I think there's been some confusion about what

Re: [PyQt] connection to list view and combo pyqt

2008-01-23 Thread David Boddie
On Wed Jan 23 18:01:22 GMT 2008, Peter Liedler wrote: You need to connect the selection model's signal to the titleSelected() slot: self.connect(self.listViewTitle.selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), self.titleSelected)

Re: [PyQt] connection to list view and combo pyqt

2008-01-19 Thread David Boddie
On Sat Jan 19 13:41:12 GMT 2008, Peter Liedler wrote: In my main view I have several connect strings to buttons and checkBoxes. They work fine. self.connect(self.checkBoxRipLongest, SIGNAL(clicked()), self.toggleRipLongest) self.connect(self.listViewTitle,