[Qt-interest] Very simple question regarding QUiLoader

Patric userqt at gmail.com
Wed Jun 3 21:03:35 CEST 2009


Hello, 
my question is simple. When to use QUiLoader. 
I think that the only difference is that at compile time, there'll not be the need of constructing the ui class (the class with the setupUi method). This is delayed for runtime. 
I saw the examples for QUiLoader, I think they can be done without it also. If I have two forms and I want to change them in a UI, instead of loading them into widgets at runtime I always can just call "widget2.show()" instead of widget1.show(). 
But I may be wrong. Sorry if my question is too simple or something, I'm just wondering. 

Regards,
Patric


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090603/fed6d11c/attachment.html 


More information about the Qt-interest-old mailing list