QTableView Experience(Model/View programming)
1.How to expand the column to fill the whole table?
we can set up one of the columns as stretch, and other columns are fixed, like this
QTableView* tableView = new QTableView();
tableView->setModel(model);
// Put these statements after setting model...
kangaroolove.hashnode.dev1 min read
Shuai Shiyu
Excellent!