容器类控件TabWidget
使用TabWidget实现一个带有标签页的控件,可以在里面添加一些widget,通过标签页来进行切换。

- 核心属性
| 属性 | 说明 |
|---|---|
| tabPosition |
标签⻚所在的位置.
|
| currentIndex |
当前选中了第⼏个标签⻚ (从 0 开始计算) |
| currentTabText |
当前选中的标签⻚的⽂本 |
| currentTabName |
当前选中的标签⻚的名字 |
| currentTabIcon |
当前选中的标签⻚的图标 |
| currentTabToolTip |
当前选中的标签⻚的 |

最低0.47元/天 解锁文章
2288





