Restore .pro and add style.css in example folder

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3179 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810 2014-06-24 16:40:41 +00:00
parent 4b5e8067fa
commit 96a7d2a0b0
2 changed files with 22 additions and 5 deletions

21
examples/styles/style.css Normal file
View File

@ -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;
}

View File

@ -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