PDA

View Full Version : grid color in QTableView



wagmare
27th February 2013, 14:09
Hi friends,

Im having a small problem with QTableView (look wise)

i set thye StyleSheet value to


QTableView {
selection-background-color: blue;
background-color: rgb(39, 42, 49);
font: 1em;
color: white;
}

and the tableview color will be in dark blue ..
but i want the grid lines of the TableView to be in white in color ..
specifically i couldnt able to find any call for that ..

can anyone please kindly help me to set the color of the lines in QTableView

Thks in advance ..

Thanks & Regards,

Ashkan_s
27th February 2013, 14:54
use gridline-color: white;

http://qt-project.org/doc/qt-4.8/stylesheet-reference.html#gridline-color-prop