PDA

View Full Version : QTableView/Widget and CSS



Andrewshkovskii
15th October 2010, 12:03
How can i remove/recolor/change border-radius of this encircled element of headerView?
http://img405.imageshack.us/img405/5270/examplea.png
Current css for tableWidget:

QTableView{
border : 0.5px solid gray;
border-radius : 25px;
}
QHeaderView::section:first {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #616161, stop: 0.5 #505050,
stop: 0.6 #434343, stop:1 #656565);
color: white;
border: 1px solid #6c6c6c;
border-radius : 25px;/*does not work*/
padding-left: 4px;
margin-left : 25px;
}