[PyKDE] Custom signal/slot function
sw at wordtech-software.com
Sun Jun 19 16:16:09 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
I'm working on my first PyQt application, and to get a feel for signals
and slots, I'm trying to have my application echo the text entered into
a line edit widget to stdout. However, when I test this, what is printed
is "Not implemented yet," which tells me I'm doing something wrong.
Here is my ui.h code:
~ # get the text typed in the line edit
~ e = self.lineEdit1.text().ascii()
~ #show output
~ os.system('echo %s', e)
I've also tried the simple statement "print %s, e", but I also get the
"not implemented yet" error.
Can anyone help point me in the right direction?
Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
mailto:sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the PyQt