我找不到主题化QHeaderView左上角的方法。也许它是在QTableWidget中的一部分,但是我无法确定...
示例:http://i.imgur.com/VmHHdan.pngHistory {
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 black, stop:1 gray);
}
* {
font: 500 12pt "Cantarell";
color: rgba(255, 255, 255, 200);
}
QTableWidget {
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 black, stop:1 blue);
}
QTableWidget::item {
hborder: 5px solid rgba(68, 119, 170, 150);
background-color:rgba(68, 119, 170, 125);
}
QHeaderView, QHeaderView::section {
background-color: rgba(128, 128, 128, 128);
}