When I run the examples3/tut2.py script the quit button doesn't do anything. Also, I ran the widget.py script and none of the widgets do anything. For reference here is the code in tut2.py;

-----------------
#!/usr/bin/env python

# Qt tutorial 2.

import sys
import qt


a = qt.QApplication(sys.argv)


quit = qt.QPushButton("Quit", None)
quit.resize(75, 30)
quit.setFont(qt.QFont("Times", 18, qt.QFont.Bold))

qt.QObject.connect(quit, qt.SIGNAL("clicked()"), a, qt.SLOT("quit()"))

a.setMainWidget(quit)
quit.show()
sys.exit(a.exec_loop())
---------------------
I am running these on MacOSX 10.3 w/ Python 2.3:

Qt - 3.2.3
PyQt - 3.9
SIP - 4.0rc1

Any ideas?

Kit

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to