[Qt-interest] QTreeWidget::setStyle() with QMacStyle

Daniel Hartwig qtng at ixs-linux.de
Tue Dec 2 21:47:54 CET 2008


one question again,
maybe it sounds funny but the alternate-background-color didn't work,
do someone maybe know why?

QTreeView {
	alternate-background-color: yellow;
}

QTreeView::item:hover {
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 
#e7effd, stop: 1 #cbdaf1);
	border: 1px solid #bfcde4;
}

thanks very! :)



More information about the Qt-interest-old mailing list