How to design "page" based Qt application
-
Hi Everyone,
I am new to Qt. I come from "web" and mobile design background. I am wondering how to design a Qt application similar to mobile app or web page (from master page, click a item, go to another page or view.) What is the Basic architecture for this kind application? Can we animate transition from one page to another?
Thank you.
hhzhang
-
QtQuick seems to be a perfect fit for you. See the "documentation":http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html, and "more":http://qt-project.org/doc/qt-4.8/qml-intro.html.
-
Thank you for the reply.
Could you share some detail?Also, I briefly learned Qt Quick. It seems to me that all existing desktop component are not there (e.g. QFileDialog). I have to start to write a lot of component from Rectangle and Mouse area. This may fit for mobile phone. But for rapid desktop tool, I would like to use existing component like QFileDialog.
-
You can combine the two. Plus, Qt 5.1 comes with" Qt Quick Components":http://qt-project.org/wiki/Qt_Quick_Components, which are the same as Widgets, but made in QML ;) Search the docs for more info.
-
Especially the transitions you talk about really point in the QtQuick direction. But if that's basically all the fanciness you want, perhaps you could consider dropping that aspect and just use widgets instead.