model
model = new QStandardItemModel;
tableView = new QTableView(this);
int colum = index1.column();
int row = index1.row();
QString str=model->data(model->index(row,3)).toString();//第row行第3列的内容
qDebug()<<"pathname = "<<str<<endl;
---------------------
作者:MaxLiuZhenGuo
来源:CSDN
原文:https://blog.csdn.net/u011418878/article/details/39966089
版权声明:本文为博主原创文章,转载请附上博文链接!