带有 Qt Quick Controls 的移动应用程序的结构

The structure of a mobile app with Qt Quick Controls

com.nokia.meego 的过去,甚至现在使用 Sailfish.Silica 模块时,您都在使用 "Pages" 在应用程序内进行导航。

使用 Qt Quick Controls 为 Android 开发移动应用程序时应该使用什么?

这真的取决于您的需求,我想对于基本应用程序来说,一个简单的 TabView 就足够了,对于更复杂的对话框设计,您可能需要一个 StackView.

当然,你也可以一个嵌套另一个。

最后,使用 QML 可以很容易地使用动态对象实例化、动画和效果来实现您的自定义应用程序导航系统。

您的问题可以分为两个:设计问题和实现问题。

前者可以改写为"what structure should my mobile app targeted to Android have?"而后者可以改写为"what does QtQuick give me to implement that structure?"

至于第一个问题,有一个 very rich section in the "Material Design" specs which deals with app and navigation structure. You should consider those recommendations in the light of your specific use case and similar examples that you can find. Also, take a good look at QML Material,因为它为您提供了一个几乎直接的映射来实现您的 Android-targeted(甚至跨平台)设计现成的 Material 个组件。

一旦您定义了设计问题,用于实现的 QtQuick 组件的选择或多或少自然而然地落下了,并且您有上面提到的@ddriver 的选项,甚至更多。