黑莓10级联QML方法 [英] Blackberry 10 cascades qml methods

查看:125
本文介绍了黑莓10级联QML方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击从一个qml布局到另一个qml的按钮时,如何加载方法?就像有一个editprofile按钮一样,如果我单击该按钮,则意味着我想显示从Web服务获取的值,该怎么做?任何人都可以提出想法吗? 谢谢

How to load a method when i click a button from one qml layout to other qml? as am having a editprofile button if i click the button means i want to show the values ,which i got from the webservice how to do this? can anyone send some idea.? Thanks

推荐答案

您需要实现此onCreationCompleted方法

you need to implement this onCreationCompleted method

    onCreationCompleted: {
   // call the function, that you need to show first
   // first_display()
   }

希望这会有所帮助.!!!

Hope this helps.!!!

这篇关于黑莓10级联QML方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆