Qt-interest Archive, March 2002
Loading screens from UI files
Message 1 in thread
Hi list, I'm loading screens from .ui files using QWidgetFactory.
ie: m_pDialog = (QDialog*)QWidgetFactory::create("main,ui");
I was wondering if this function can be speedup in some ways. Some screens
I load can take up to 2 seconds if they have a lot of widgets.
I already know I could do these:
1) Put less widgets per screen (kinda hard sometimes).
2) Use external bitmaps instead of embedded ones.
3) Use uic (we prefer using our dynamic screen loading "engine" like a
browser of somekind).
What I think is slow is all the XML parsing that takes place.
Help anyone? Thanks.
Maxime Asselin
Programmer-Analyst
Research and Development