z55716368:请问是怎么设置的,还有能把你这部分的代码分享一下么。你这个的行列交错部分也还没有透明
(2015-07-27 15:41) 
网格线是可以取消的吧,但我觉得取消了就不分辨了。
我只在MainWindow的构造函数里面设置了
ui->tableView->verticalHeader()->setStyleSheet
("QHeaderView::section {background-color: rgba(232, 255, 213, 5);}");
ui->tableView->horizontalHeader()->setStyleSheet
("QHeaderView::section {background-color: rgba(232, 255, 213, 5);}");
至于verticalScrollBar和horizontalScrollBar我也不知道咋设置。
TABLEView的样式表:
background-color: rgba(232, 255, 213, 5);
horizontalHeader
{
background-color: rgba(232, 255, 213, 5)
}