本文主要是介绍QML 7【Qt Quick】,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
| Quick版本 | |
|---|---|
| QtQuick 2.14 |
子模块:
| Xml List Model | |
| Local Storage | |
| Particles | |
| Window | |
| Dialogs | |
| Controls | |
| Layouts | |
| Tests |
Item
属性
| 属性 | 类型 | 描述 |
|---|---|---|
| x | real | x坐标 |
| y | real | y坐标 |
| z | real | z坐标 |
| width | real | 宽度 |
| height | real | 高度 |
| implicitWidth | real | 默认宽度 |
| implicitHeight | real | 默认高度 |
| rotation | real | 旋转 |
| scale | real | 缩放 |
| opacity | real | 透明度 |
| parent | real | 父Item |
| children | list | 子Item列表 |
| visibleChildren | list | 可视化的子Item列表 |
| activeFocus | bool | Item是否在正在接收键盘输入 |
| activeFocusOnTab | bool | |
| enabled | bool | 是否允许-接收鼠标和键盘输入 |
| focus | bool | |
| antialiasing | bool | 是否开启抗锯齿 |
| clip | bool | |
| visible | bool | 是否可见 |
| smooth | bool | |
| state | string | Item的当前状态名 |
| states | list | Item的所有状态的列表 |
这篇关于QML 7【Qt Quick】的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!