tablewidget 左上角格子没有边框
左上角是一个按钮,需要单独设置qss
# 侧边栏
QHeaderView::section {
background-color: rgb(58,58,58);
border-top: none;
border-bottom: 1px solid rgb(131,130,131);
border-right: 1px solid rgb(131,130,131);
min-width: 30px; /* 最小宽度 */
min-height: 30px; /* 最大宽度 */
}
# 左上角格子
QTableCornerButton::section {
background-color: rgb(58,58,58);
border-top: none;
border-bottom: 1px solid rgb(131,130,131);
border-right: 1px solid rgb(131,130,131);
min-width: 30px; /* 最小宽度 */
min-height: 30px; /* 最大宽度 */
}