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
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde