摘要:
1.由于是点击HeaderView进行排序,所以初始代码//排序//QTableView model->lgoods_model view->lgoods_view lgoods_head_view = lgoods_view->horizontalHeader(); lgoods_head_view->setSortIndicator(0,Qt::AscendingOrder); lgoods_head_view->setSortIndicatorShown(true); connect(lgoods_head_view,SIGNAL(sectionClic.. 阅读全文