Re: [PyQt] New style signals question

2010-08-12 Thread Algis Kabaila
Thanks for posting it to the list - I've learned something from it! OldAl. On Thursday 12 August 2010 19:22:01 Detlev Offenbach wrote: > Hi, > > thanks. That was the solution. > > Detlev > > On Donnerstag, 12. August 2010, 机械唯物主义 : linjunhalida wrote: > > It works! > > > > from PyQt4.QtCore i

[PyQt] QPropertyAnimation called from another thread

2010-08-12 Thread Martin Airs
Good day all, Here is the scenario class MainWindow(QtGui.QMainWindow): def __init__(self, parent=None): QtGui.QMainWindow.__init__(self, parent) self.ui = Ui_MainWindow() self.ui.setupUi(self) self.scene = QtGui.QGraphicsScene(self) self.scene.set

Re: [PyQt] Fwd: Re: [wizard] done, accept, reject one more time for the records

2010-08-12 Thread Preisig, Heinz A
PS: I just checked and found that I also tried: def done(self): ... QtGui.QWizard.close(self) and that did not work either. Regards, Heinz On 08/12/2010 04:10 PM, "Sybren A. Stüvel" wrote: On 12-8-2010 15:30, Preisig, Heinz A wrote: I thought though I essentially tried it with

Re: [PyQt] Fwd: Re: [wizard] done, accept, reject

2010-08-12 Thread Preisig, Heinz A
Sure, was reading a part of the manual that was in C/C++. You are certainly correct. Could not see it. Thanks, Heinz On 08/12/2010 04:10 PM, "Sybren A. Stüvel" wrote: On 12-8-2010 15:30, Preisig, Heinz A wrote: I thought though I essentially tried it with QtGui.QWizard(sel

[PyQt] Fwd: Re: [wizard] done, accept, reject

2010-08-12 Thread Preisig, Heinz A
Hi Colin, thanks that does indeed work. I thought though I essentially tried it with QtGui.QWizard(self).done(r) but that did not work. Cheers, Heinz On 08/12/2010 01:55 PM, Colin McPhail wrote: super(Ui_WizardImpl, self).done(r) -- Heinz A Preisig Professor of

Re: [PyQt] [wizard] done, accept, reject

2010-08-12 Thread Colin McPhail
On 12 Aug 2010, at 09:56, Preisig, Heinz A wrote: > I am running into problems controlling the exit from the wizard. Tried > several things but seem not to find a solution. Probably overlook > something...? > > The code, attached below is executed on ubuntu 10.04 and I also tried on > kubuntu

Re: [PyQt] New style signals question

2010-08-12 Thread Detlev Offenbach
Hi, thanks. That was the solution. Detlev On Donnerstag, 12. August 2010, 机械唯物主义 : linjunhalida wrote: > It works! > > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > class P(QPushButton): > pass > > app = QApplication([]) > > p = P() > p.clicked.connect(app.aboutQt) > p.show(

[PyQt] [wizard] done, accept, reject

2010-08-12 Thread Preisig, Heinz A
I am running into problems controlling the exit from the wizard. Tried several things but seem not to find a solution. Probably overlook something...? The code, attached below is executed on ubuntu 10.04 and I also tried on kubuntu. The problem is with done and reject. The task does not exit