PDA

View Full Version : Best practice when handling a slow loading widget?



TheNewGuy
4th December 2009, 07:01
I am new to QT and new to C++, but I am determined to make an application. As such, I use what I know and that is HTML and javascript via webkit. The downside to this is some of my javascript interfaces are slow to load due to the sheer amount of javascript code.

There are two situations where this is a problem:

1) Application initially loads. The user may see some white widgets (the slow loading ones). I can see a way around that is by including an application loading mask similar to what photoshop does or open office or whatever. Is there any better solution?

2) The user clicks something (such as tools->settings) and a dialog pops up. I just can't add a loading mask for a dialog. So, what is the best solution for this problem?

dbzhang800
4th December 2009, 07:12
QSplashScreen Class Reference