On Wed, 4 Mar 2009 16:56:51 +0100, "NARCISO, Rui" <rui.narc...@airbus.com> wrote: > I was under the impression we always needed to do: > from PyQt4.QtGui import * > from PyQt4.QtCore import * > > If QtGui imports already QtCore is it not redundant ? If so, what would be > the "right" way to do it ?
It's redundant if you aren't explicitly using any of the objects you are importing. I'm finding that, with the new connection API, you often don't need to explicitly import QtCore any more (because you no longer need SIGNAL()). Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt