ui->listWidget->setStyleSheet("QListView { show-decoration-selected: 1;}\
item:alternate { background: #EEEEEE;}\
item:selected:active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ADAFE5, stop: #8588B2);}\
item:selected:!active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6a6ea9, stop: #888dd9);}");
ui->listWidget->setStyleSheet("QListView { show-decoration-selected: 1;}\
item:alternate { background: #EEEEEE;}\
item:selected:active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ADAFE5, stop: #8588B2);}\
item:selected:!active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6a6ea9, stop: #888dd9);}");
To copy to clipboard, switch view to plain text mode
Bookmarks