mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
QTreeView cosmetic change add item:hover
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3166 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -955,11 +955,12 @@ void QETApp::useSystemPalette(bool use) {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
setStyleSheet(
|
setStyleSheet(
|
||||||
"QTabBar::tab:!selected { background-color: transparent; }"
|
"QTabBar::tab:!selected {background-color: transparent; }"
|
||||||
"QMainWindow{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }"
|
"QMainWindow{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }"
|
||||||
"QListView{ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(130, 160, 210)); }"
|
"QListView{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(130, 160, 210)); }"
|
||||||
"QTreeView{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }"
|
"QTreeView{background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(43, 75, 116), stop:1 rgb(197, 245, 254)); }"
|
||||||
"QTreeView::item{background-color: rgba(100, 100, 100, 150);}"
|
"QTreeView::item{background-color: rgba(100, 100, 100, 150);}"
|
||||||
|
"QTreeView::item:hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); }"
|
||||||
"QAbstractScrollArea#mdiarea {"
|
"QAbstractScrollArea#mdiarea {"
|
||||||
|
|
||||||
" background-color -> setPalette(initial_palette_);"
|
" background-color -> setPalette(initial_palette_);"
|
||||||
|
|||||||
Reference in New Issue
Block a user