-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Eli Yukelzon schrieb: | Thanks for your reply. | I've tried to overcome the fact that closeEvent is not copied. | I tried just overwriting the attr, that didn't work. Then i tried | using 'instancemethod' to apply | the new closeEvent to ui class. No luck. | | Maybe i'm missing something? | | thanks in advance, | | eli yukelzon
Hello Eli,
I've played around with that code a bit and I didn't find a way to overwrite closeEvent in the widget returned from qtui.create. However, do you know that the button is actually connected to the close()-slot in the created dialog? If you do not add e.accept() in Form3.closeEvent, the application closes anyway (although this can be fixed easily - just leave out the setMainWidget call).
greetings
Torsten
- -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCBmMafMVFHqJEyFgRAmb2AKC4ZfbqhjFFMggrcnXXHXfaafbM0ACeKsO9 8dlP8/vGD2+qFb7RidnsBXQ= =GTYG -----END PGP SIGNATURE-----
_______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
