QTableView得到当前选择的列
摘要:
connect(this,SIGNAL(clicked(QModelIndex)),this,SLOT(sltItemSelected(QModelIndex)));TableView::sltItemSelected(){ mcurItem = mfileModel->itemFromIndex(index); int row = mcurItem->row(); int column = mcurItem->column(); if( column != 0 ) { mcurFileName = mfileModel->i... 阅读全文
posted @ 2014-01-15 21:54 jesse_deng 阅读(1922) 评论(0) 推荐(0) 编辑