diff --git a/examples/styles/style.css b/examples/styles/style.css new file mode 100644 index 000000000..e2de58927 --- /dev/null +++ b/examples/styles/style.css @@ -0,0 +1,21 @@ +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)); +} +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::item +{background-color: rgba(100, 100, 100, 00); +} +QTreeView::item:hover +{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); +} +QAbstractScrollArea#mdiarea +{background-image: url(':/ico/mdiarea_bg.png');background-repeat: no-repeat;background-position: center middle; +} diff --git a/qelectrotech.pro b/qelectrotech.pro index a723f045c..e5b8bd445 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -20,7 +20,6 @@ unix { QET_ICONS_PATH = 'share/icons/hicolor/' QET_MAN_PATH = 'man/' QET_APPDATA_PATH = 'share/appdata' - QET_STYLE_PATH = 'share/qelectrotech/' } win32 { # Chemins Windows @@ -138,9 +137,6 @@ desktop.files = misc/qelectrotech.desktop appdata.path = $$join(INSTALL_PREFIX,,,$${QET_APPDATA_PATH}) appdata.files = misc/qelectrotech.appdata.xml -style.path = $$join(INSTALL_PREFIX,,,$${QET_STYLE_PATH}) -style.files = style.css - icons.path = $$join(INSTALL_PREFIX,,,$${QET_ICONS_PATH}) icons.files = ico/oxygen-icons/16x16 \ ico/oxygen-icons/22x22 \ @@ -158,7 +154,7 @@ man.extra = sh man/compress_man_pages.sh INSTALLS += target elements tbt lang copyright # Sous Unix, on installe egalement l'icone, un fichier .desktop, des fichiers mime et les pages de manuel unix { - INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples appdata style + INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples appdata } # Options de compilation communes a Unix et MacOS X