qt tableWidget背景透明化,字体颜色,圆角等等样式

 ui->tableWidget->setStyleSheet(
"QTableView{background:transparent;border:1px solid A7 A7 A7;border-radius:1px;font-size:32px;font-family:'黑体';gridline-color:A7 A7 A7}"\
"QTableWidget QTableCornerButton::section{background:transparent;}"\
"QHeaderView{background:rgb(68,83,101);border-radius:1px;height:35;font-size:32px;font-family:'黑体'}"\
"QHeaderView::section{background:rgb(68,83,101);padding:5px 10px 5px 10px;border-radius:1px;}"\
"QTableView:item{background:transparent;}"\
"QTableView:indicator{width:20px;height:20px;}");

你可能感兴趣的:(qt学习,javascript,前端,html)