[Qt-jambi-interest] Help--Why I set the style sheet through QDesigner in eclipse, but it doesn't work???

朱欢 hotaru5423 at gmail.com
Wed Aug 27 04:44:59 CEST 2008


Help--Why I set the style sheet through QDesigner in eclipse, but it doesn't
work???
I right click, and set style sheet as follows:
 QListView {
     show-decoration-selected: 1; /* make the selection span the entire
width of the view */
}

QListView::item:alternate {
     background: #EEEEEE;
}

QListView::item:selected {
     border: 1px solid #6a6ea9;
}

QListView::item:selected:!active {
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #ABAFE5, stop: 1 #8588B2);
}

QListView::item:selected:active {
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #6a6ea9, stop: 1 #888dd9);
}

QListView::item:hover {
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                 stop: 0 #FAFBFE, stop: 1 #DCDEF1);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-jambi-interest/attachments/20080827/181aed4f/attachment.html 


More information about the Qt-jambi-interest mailing list