[PyKDE] Hello world with a twist
Kevin Walzer
sw at wordtech-software.com
Mon Jun 20 04:52:28 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Doh, forget about it. I figured this out implementing a custom slot in
Designer. Sorry for the waste of time.
Kevin Walzer wrote:
| Hello,
|
| I'm trying to modify the standard "hello world" PyQt program to print
| "hello world" to stdout:
|
| # hello1.py
| #
| import sys
| from qt import *
|
| app=QApplication(sys.argv)
| button=QPushButton("Hello World", None)
| app.setMainWidget(button)
| button.show()
| app.exec_loop()
|
|
| I can't quite figure this out. Can anyone help? Thanks
|
_______________________________________________
PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCtj17JmdQs+6YVcoRAnkMAJ9xUqzyT561r8ZJPaD9owve2e6/RwCfb+rD
m06tCnS5u03PyKgAGT+kkH8=
=HJ3v
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list