假设我们希望我们在 QTableView 中选择的项目有泡泡糖粉红色渐变为白色作为其背景。
这可以通过 selection-background-color 属性实现,所需的语法是:
QTableView {
selection-background-color: qlineargradient(x1: 0, y1: 0,
假设我们希望我们在 QTableView 中选择的项目有泡泡糖粉红色渐变为白色作为其背景。
这可以通过 selection-background-color 属性实现,所需的语法是:
QTableView {
selection-background-color: qlineargradient(x1: 0, y1: 0,