ayl*_*yla 5 qt qtablewidget
如何从QTableWidget中读取所选项目?
谢谢
小智 5
int QTableWidget::currentRow() const 返回当前项目的行。
int QTableWidget::currentRow() const
int QTableWidget::currentColumn() const 返回当前项目的列。
int QTableWidget::currentColumn() const
Pat*_*ola 0
使用selectedItems函数检索选定的项目,或使用selectedIndexes获取所有选定的单元格(包括空单元格)。
selectedItems
selectedIndexes
归档时间:
15 年,6 月 前
查看次数:
11974 次
最近记录:
11 年,4 月 前