[PyKDE] QProcess: more guidance needed
Tina Isaksen
tina at bestemselv.com
Fri Mar 10 03:29:25 GMT 2006
Andreas Pakulat wrote:
>>I gave up. I just could not get a QProcess write to a process stdin.
>>
>>
>
>I'll see if I can write up a small example to test this. Maybe you just
>hit a bug...
>
>
Great. I'm very interested in why I failed to make it work.
>
>Ok, so in this case you need to use a modal dialog. So just make sure
>the connections are done (in the dialog) as said above and then replace
>the if answer == .. with something like this:
>
> if confirmUpgrade().exec() == QDialog.Accepted:
>
>
Yes, I had made it with designer's dialog template so it all boiled down to:
dialog = confUpgrade(self)
if dialog.exec_loop() == QDialog.Accepted:
Thanks a million!
Tina
--
Project: Tinapt
http://tinapt.berlios.de/
SVN repository:
http://svn.berlios.de/wsvn/tinapt/trunk/?rev=0&sc=0
More information about the PyQt
mailing list