
Qt QML PageView
5星
- 浏览量: 0
- 大小:None
- 文件类型:ZIP
简介:
Qt QML的PageView组件用于创建页面堆栈式的用户界面,支持平滑过渡效果和自适应布局,适用于构建多页应用。
分页视图
左右滑动的分页列表组件示例:
```qml
PageView {
id: pv
width: 300
height: 200
Rectangle {
width: pv.width;
height: pv.height;
color: red
}
Rectangle {
width: pv.width;
height: pv.height;
color: green
}
Rectangle {
width: pv.width;
height: pv.height;
color: blue
}
}
```
作者:surfsky.cnblogs.com 2014-12
许可证:MIT
请保留此段声明。
全部评论 (0)
还没有任何评论哟~


