[PyQt] Splash screen and WindowStaysOnTopHint flag

Phil Thompson phil at riverbankcomputing.com
Wed Mar 4 16:04:10 GMT 2009


On Wed, 4 Mar 2009 16:56:51 +0100, "NARCISO, Rui" <RUI.NARCISO at 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


More information about the PyQt mailing list