[Qt-interest] QML and plugin provided UI elements

Kishore kitts.mailinglists at gmail.com
Mon Dec 20 17:12:50 CET 2010


There have been several questions about QML but I still have some doubts. Let me start by saying that the only languages i know are C and C++. I am not familiar with the way modern interpreted languages operate but i am willing to invent in QML. I would like to know how i can take advantage of QML as i need to have my application working on both the desktop and mobile devices.

1) In our application there are places in the code where error dialogs are thrown to the user. How is this handled with QML? Do i have to strongly seperate out the error and the user presentation such the QML UI would recognize the error and as a result display the QML error dialog?

2) The application is plugin based and plugins in many occasions provide QWidgets that mostly get embedded into other parent widgets. How would i do something similar with QML? What i am confused about here is, in C++ we use the factory pattern to create the widgets. Is it similar with QML?

I am sure i would have more questions as i learn more about QML but i hope with this info it would help me get started. Thanks in advance.
-- 
Cheers!
Kishore



More information about the Qt-interest-old mailing list