Re: [PyKDE] Emitting a signal from Python

2007-02-12 Thread David Boddie
On Monday 12 February 2007 07:21, Tony Cappellini wrote: > Perhaps I'm going about this wrong. I want to simulate the user > selecting the first item (Or any item) in a combo box. I think you may want to call setCurrentIndex() on the combo box. > I don't need to pass it a text string, the string

Re: [PyKDE] Emitting a signal from Python

2007-02-11 Thread Tony Cappellini
Perhaps I'm going about this wrong. I want to simulate the user selecting the first item (Or any item) in a combo box. I don't need to pass it a text string, the strings are already in the combo box. I just need to select it, so the signal I've connected to the combo box activate signal gets fire

Re: [PyKDE] Emitting a signal from Python

2007-02-05 Thread David Boddie
On Sat, 3 Feb 2007 22:45:57 -0800, Tony Cappellini wrote: > I've tried to add a line of code to emit a signal. > > The sender is normally a combo box, the receiver is a Text Edit box. > The connect statement (that works) looks like this > > self.connect(self.Names, QtCore.SIGNAL("activated(const Q

[PyKDE] Emitting a signal from Python

2007-02-04 Thread Tony Cappellini
I've tried to add a line of code to emit a signal. The sender is normally a combo box, the receiver is a Text Edit box. The connect statement (that works) looks like this self.connect(self.Names, QtCore.SIGNAL("activated(const QString &)"), self.updateNameBrowser) I want to 'simulate' the user