08 2018 档案

摘要:js 加载 Jstest111 首字母大写 2.动态创建对象 动态删除对象(SelfDestoryingRect.qml),只有动态创建的对象才能删除 3.qml 共享js Calculator.qml factorial.js 运行结果 qml: 3 qml: 2 qml: 1 qml: fact 阅读全文
posted @ 2018-08-23 10:14 -CQ- 阅读(756) 评论(0) 推荐(0)
摘要:Test.qml main.qml 运行结果: qml: 1111 qml: xxxx qml: xxxx 阅读全文
posted @ 2018-08-21 10:52 -CQ- 阅读(409) 评论(0) 推荐(0)
摘要:qml 一个信号与多个方法关联 和 c++信号与槽类似写法 结果: qml: send to postxxx,yyy qml: send to legraphxxx,yyy qml: send to emailxxx,yyy 阅读全文
posted @ 2018-08-21 09:59 -CQ- 阅读(275) 评论(0) 推荐(0)
摘要:connections 使用 阅读全文
posted @ 2018-08-21 09:33 -CQ- 阅读(624) 评论(0) 推荐(0)
摘要:SquareButton.qml main.qml SquareButton中信号 activated 对应main.qml中 onActivated 阅读全文
posted @ 2018-08-21 08:56 -CQ- 阅读(387) 评论(0) 推荐(0)
摘要:1.qml alias使用 qml文件名首字母一定要大写 不然会找不到 Test1.qml 调用qml文件名无强制要求 main.qml 在5.10中,每次更新Test1.qml都需要在main.qml中更新下buttonText1的内容要不然显示的不会更新 阅读全文
posted @ 2018-08-20 10:55 -CQ- 阅读(850) 评论(0) 推荐(0)