PyQt4 strangeness
Jeremy Sanders
jeremy+complangpython at jeremysanders.net
Tue Jan 23 06:54:26 EST 2007
More information about the Python-list mailing list
Tue Jan 23 06:54:26 EST 2007
- Previous message (by thread): PyQt4 strangeness
- Next message (by thread): Python on AIX required files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tina I wrote:
>
> self.connect(self.ui.testButton, QtCore.SIGNAL("clicked()"),
> self.doSomething)
>
> Anyone know why this is? Or am I missing something very basic here? (I'm
> still very much a noob I guess)
If you want to import both you can do something like:
import PyQt4.Qt as Qt
which imports QtCore and QtGui
Jeremy
--
Jeremy Sanders
http://www.jeremysanders.net/
- Previous message (by thread): PyQt4 strangeness
- Next message (by thread): Python on AIX required files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list