QTableView的一些用法

(1)QTableView要得到其中的一項的內容,用以下代碼:函數 QModelIndex pModelIndex = m_pUI->tableView_users->model()->index(i,0); QString strName = pItemModel->data(pModelIndex).toString();this (2)要使表格能夠按住ctrl鍵和shift多選  不按住任何
相關文章
相關標籤/搜索