[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Re: Re: Any Large PyQt Projects?
From:       Gustavo_A._Díaz <gustavo.diaz () gmail ! com>
Date:       2009-02-27 18:17:55
Message-ID: 64c123920902271017t67f9a832ma6aa0e16cc44692d () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi!

I am writing a supposed will be large aplication in PyQt.

http://opencoffee.lnxteam.org (sorry, mainly spanish site/project but will
have translations..)

Cheers.

2009/2/24 Toby Dickenson <tdickenson@geminidataloggers.com>

> Chris Withers wrote:
>
> > Toby Dickenson wrote:
> >> * Plan to have a splash screen with a progress bar :-(
> >
> > How do you do this with PyQt?
>
> Obviously you need to show the splash screen widget before importing the
> majority of your application code. The import statement is usually seen at
> the top of a module but it works inside a function too, so we have one
> function which imports a few module (or performs other initialisation
> tasks), bumps the progress bar by 10%, and repeats.
>
> The last few lines of that function imports the module containing the main
> widget, closes the splash screen, then shows the main widget.
>
> For extra points you could import modules after showing the main widget,
> either in a thread or on demand when functionality is needed. But I like
> the reassurance that any SyntaxErrors get flushed out before that main
> widget is shown.
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar

[Attachment #5 (text/html)]

Hi!<br><br>I am writing a supposed will be large aplication in PyQt.<br><br><a \
href="http://opencoffee.lnxteam.org">http://opencoffee.lnxteam.org</a> (sorry, mainly \
spanish site/project but will have translations..)<br><br> Cheers.<br><br><div \
class="gmail_quote">2009/2/24 Toby Dickenson <span dir="ltr">&lt;<a \
href="mailto:tdickenson@geminidataloggers.com">tdickenson@geminidataloggers.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Chris Withers wrote:<br>
<div class="Ih2E3d"><br>
&gt; Toby Dickenson wrote:<br>
&gt;&gt; * Plan to have a splash screen with a progress bar :-(<br>
&gt;<br>
&gt; How do you do this with PyQt?<br>
<br>
</div>Obviously you need to show the splash screen widget before importing the<br>
majority of your application code. The import statement is usually seen at<br>
the top of a module but it works inside a function too, so we have one<br>
function which imports a few module (or performs other initialisation<br>
tasks), bumps the progress bar by 10%, and repeats.<br>
<br>
The last few lines of that function imports the module containing the main<br>
widget, closes the splash screen, then shows the main widget.<br>
<br>
For extra points you could import modules after showing the main widget,<br>
either in a thread or on demand when functionality is needed. But I like<br>
the reassurance that any SyntaxErrors get flushed out before that main<br>
widget is shown.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
PyQt mailing list    <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br> \
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Gustavo A. \
Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a><br>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic