Singleton Controllers in Times of Declarative QML

Singleton Controllers in Times of Declarative QML 图片 1

To make it easier to provide controller objects to QML, André Somers contributed some changes to QQmlEngine and the declarative registration code, so that you can now provide object instances to the QML engine to use as singletons.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论