QT QTableView 根據內容自適應寬度

void SetTabViewColumnSpace(QTableView *m_tableView) { //根據內容來肯定列寬度 m_tableView->resizeColumnsToContents(); m_tableView->horizontalHeader(); //獲取表頭列數 for(int i = 0; i < m_tableView-
相關文章
相關標籤/搜索