StyleSheetDemo Example
QHeaderView {
}
Qtitan--Grid {
font-family: Segoe UI;
font-size: 19px;
font-weight: 400;
gridline-color: #F4F5F8;
background-color: #FFFFFF;
qproperty-gridLineWidth: 5;
qproperty-viewBackgroundColor: #F4F5F8;
qproperty-headerBrush: #F4F5F8;
qproperty-columnHeight: 40;
qproperty-cellHeight: 60;
}
Qtitan--Grid::section {
font-family: Segoe UI;
font-size: 19px;
font-weight: 400;
color: #808080;
background-color: #F4F5F8;
border: 0px solid #F4F5F8;
/*
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);
border: 3px solid darkBlue;
*/
}
Qtitan--Grid::item:selected {
background-color: #DFEBFF;
border: 1px solid #4680E1;
border-radius: 4px;
}
Qtitan--GridCheckBox::indicator {
width: 30px;
height: 30px;
}
Qtitan--Grid * > Qtitan--GridGroupPanelToolButton {
border: 4px solid #29508e;
border-radius: 17px;
background: #29508e;
color: white;
icon-size: 30px;
}
Qtitan--GridCheckBox::indicator:unchecked {
image: url(:/res/checkbox_unchecked.png);
}
Qtitan--GridCheckBox::indicator:unchecked:hover {
image: url(:/res/checkbox_unchecked.png);
}
Qtitan--GridCheckBox::indicator:unchecked:pressed {
image: url(:/res/checkbox_unchecked.png);
}
Qtitan--GridCheckBox::indicator:checked {
image: url(:/res/checkbox_checked.png);
}
Qtitan--GridCheckBox::indicator:checked:hover {
image: url(:/res/checkbox_checked.png);
}
Qtitan--GridCheckBox::indicator:checked:pressed {
image: url(:/res/checkbox_checked.png);
}
Qtitan--GridCheckBox::indicator:indeterminate:hover {
image: url(:/res/checkbox_indeterminate_hover.png);
}
Qtitan--GridCheckBox::indicator:indeterminate:pressed {
image: url(:/res/checkbox_indeterminate_pressed.png);
}