【发布时间】:2015-12-14 11:16:01
【问题描述】:
我想在这两个地方更改 PyQt5 中 Table Widget 的颜色,但找不到方法:
到目前为止,这是我的样式表:
QTableView QHeaderView::section
{
background-color:rgb(48, 48, 72);
color:white;
}
QTableView QHeaderView::section:checked
{
background-color: rgb(48, 48, 72);
color:white;
}
QTableView QTableCornerButton::section {
Background-color:rgb(48, 48, 72);
}
QTableView,QListView::section {
Background-color:rgb(48, 48, 72);
}
【问题讨论】:
标签: python qt pyqt5 qtablewidget