model 中的selectedRows()函数
来源:互联网 发布:有线路由器 知乎 编辑:程序博客网 时间:2024/06/06 04:27
QModelIndexList selectItems = ui.m_tableView->selectionModel()->selectedRows();
获取view中,用户鼠标选中的行,
QItemSelectionModel中的方法,每一个view都有一个QItemSelectionModel,
关于在view被选择的数据项的信息保持在QItemSelectionModel类的实例中。
标准view类提供了缺省的选择模型,它们可以在大次数程序中使用。一个view中的选择模型可以通过调用view的函数selectionModel()取得,
0 0
- model 中的selectedRows()函数
- model中的data()函数
- model中的index()函数
- model 中的 model 中的 model 1
- 关于thinkphp5中model中的hasOne函数的参数说明
- javaBean(mvc设计模型中的model)
- ExtJs4学习(六)MVC中的Model
- qt model中的方法columnCount()方法
- 枚举(enum)在model中的应用
- DataGridView.CurrentRow 与DataGridView.SelectedRows
- DataGridView.CurrentRow 与DataGridView.SelectedRows
- model中 setData()函数 flag()函数作用
- alfresco中的Model
- QT中的model/view
- backbone中的model实例
- Django中的Model继承
- Backbone中的Model使用方法
- swift cell中的model
- AAPT err(Facade for ): libpng error: Not a PNG file
- hdu3336(kmp+dp)
- 协方差的意义和计算公式
- struct option 的使用
- 用于操作基本类型数据的流对象
- model 中的selectedRows()函数
- sqlite系列(2)使用FMDB保存数据swift
- OnScrollListener()
- CentOS 6.6 安装 nginx
- struts2标签笔记
- alembicTool_alembicExport
- unity安卓应用名称多语言本地化
- 自定义ViewPagerIndicator标题栏标题文字颜色
- securtCRT,使用linux命令sz