[PyQt] Splash screen and WindowStaysOnTopHint flag

Phil Thompson phil at riverbankcomputing.com
Wed Mar 4 15:31:07 GMT 2009


On Wed,  4 Mar 2009 16:06:18 +0100 (CET), Frédéric
<frederic.mantegazza at gbiloba.org> wrote:
> Hello,
> 
> I use a splashscreen to show something before loading all modules. This
> is especially usefull on small and slow devices, like Nokia N8x0.
> 
> I would like to use the WindowStaysOnTopHint flag, to ensure splashscreen
> appears on top, but this also requires the QtCore module, which is very
> long to load on Nokia. So, the splashscreen loose some interest...
> 
> How can I avoid this problem? It should be nice to have this flag in a
> small module...

The QtCore module is always loaded. If you import the QtGui module the
first thing it does (after importing the sip module) is to import the
QtCore module.

Phil


More information about the PyQt mailing list