Giovanni Bajo wrote: > Are you saying that this: > > --------------------------- > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > dir(Qt) > --------------------------- > > won't show the full Qt namespace, thus making PyQt4 unusable without the > annoying QtCore/QtGui prefix in front of everything?
There are very few entries in QtGui.Qt, so as a workaround you can import QtCore *after* QtGui from PyQt4.QtGui import * from PyQt4.QtCore import * from PyQt4 import QtGui and if you need QtGui.Qt, you can use that alone with a explicit QtGui prefix. But ofcourse, i would still prefer that QtCore.Qt and QtGui.Qt were the same! :) (or better still, not have QtGui.Qt at all!!) Regards Sreeram
signature.asc
Description: OpenPGP digital signature
_______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde