QTableWidget去除选中虚边框

m_tableWidget->setFocusPolicy(Qt::NoFocus); //去除选中虚线框

原文地址:https://www.cnblogs.com/coolbear/p/5632437.html