From d403806b099c2117c7868e0d1693a302448f69bb Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 16 Oct 2008 17:41:38 +0000 Subject: [PATCH] -added new qss stylesheet -fix red qss stylesheet git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@749 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/qss/red.qss | 17 ++++++-- retroshare-gui/src/gui/qss/uus.qss | 48 +++++++++++++++++++++ retroshare-gui/src/gui/qss/uus/uus.png | Bin 0 -> 1146 bytes retroshare-gui/src/release/qss/red.qss | 17 ++++++-- retroshare-gui/src/release/qss/uus.qss | 48 +++++++++++++++++++++ retroshare-gui/src/release/qss/uus/uus.png | Bin 0 -> 1146 bytes 6 files changed, 122 insertions(+), 8 deletions(-) create mode 100644 retroshare-gui/src/gui/qss/uus.qss create mode 100644 retroshare-gui/src/gui/qss/uus/uus.png create mode 100644 retroshare-gui/src/release/qss/uus.qss create mode 100644 retroshare-gui/src/release/qss/uus/uus.png diff --git a/retroshare-gui/src/gui/qss/red.qss b/retroshare-gui/src/gui/qss/red.qss index 364e0bc17..3d56512a2 100644 --- a/retroshare-gui/src/gui/qss/red.qss +++ b/retroshare-gui/src/gui/qss/red.qss @@ -10,7 +10,10 @@ QToolBar { } - +QPushButton { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 red, stop: 1 darkred); +} QPushButton#okButton { min-height: 27px; @@ -38,11 +41,11 @@ QPushButton#applyButton { QLabel { -color: #E84427; +color: white; } QToolButton { - color: yellow; + color: white; } QTabWidget::tab-bar { @@ -74,4 +77,10 @@ QToolButton { QTabBar::tab:!selected { margin-top: 2px; /* make non-selected tabs look smaller */ - } \ No newline at end of file + } + +QStatusBar{ + border-image: url(qss/red/red.png); + +} + \ No newline at end of file diff --git a/retroshare-gui/src/gui/qss/uus.qss b/retroshare-gui/src/gui/qss/uus.qss new file mode 100644 index 000000000..f75458455 --- /dev/null +++ b/retroshare-gui/src/gui/qss/uus.qss @@ -0,0 +1,48 @@ +.QWidget { + background-color: black; + +} + + +/* Customize the toolbar. */ +QToolBar { + border-image: url(qss/uus/uus.png); + + +} + + + +QPushButton#okButton { + min-height: 27px; + min-width: 77px; +} + +QPushButton#cancelprefButton { + min-height: 27px; + min-width: 77px; +} + +QPushButton#cancelButton { + min-height: 25px; + max-height: 25px; + min-width: 75px; +} + + +QPushButton#applyButton { + + min-height: 25px; + max-height: 25px; + min-width: 75px; +} + +QLabel +{ +color: white; +} + +QStatusBar{ + border-image: url(qss/uus/uus.png); + +} diff --git a/retroshare-gui/src/gui/qss/uus/uus.png b/retroshare-gui/src/gui/qss/uus/uus.png new file mode 100644 index 0000000000000000000000000000000000000000..1e4f98f989cdca91d94f72c035af25917122c938 GIT binary patch literal 1146 zcmeAS@N?(olHy`uVBq!ia0vp^IzX(>!3-pw=SF=1QjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`6_P!Id>I(3)EF2VS{N990fib~Fff!FFfhDIU|_JC!N4G1FlSew4Fdx+ zLx4|+t3-H_d`y{qOu0f#nL=#2LR`5*Y=vT6g>qb_NTLj0Cc?q`YT(R4zW^xaw)-tkjZImsQN)`a0z?E)ATL z>bN5BmfE6Ar*^H&TDnTJ(BbjXx!3-zIO4Q;Yk%3*Ez9zPd5?%l}>bUT1Fn lu&tr-bK>s9^X&cWKeO)ia0(G*aV`MGf~TvW%Q~loCIBXizt;c& literal 0 HcmV?d00001 diff --git a/retroshare-gui/src/release/qss/red.qss b/retroshare-gui/src/release/qss/red.qss index 364e0bc17..3d56512a2 100644 --- a/retroshare-gui/src/release/qss/red.qss +++ b/retroshare-gui/src/release/qss/red.qss @@ -10,7 +10,10 @@ QToolBar { } - +QPushButton { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 red, stop: 1 darkred); +} QPushButton#okButton { min-height: 27px; @@ -38,11 +41,11 @@ QPushButton#applyButton { QLabel { -color: #E84427; +color: white; } QToolButton { - color: yellow; + color: white; } QTabWidget::tab-bar { @@ -74,4 +77,10 @@ QToolButton { QTabBar::tab:!selected { margin-top: 2px; /* make non-selected tabs look smaller */ - } \ No newline at end of file + } + +QStatusBar{ + border-image: url(qss/red/red.png); + +} + \ No newline at end of file diff --git a/retroshare-gui/src/release/qss/uus.qss b/retroshare-gui/src/release/qss/uus.qss new file mode 100644 index 000000000..f75458455 --- /dev/null +++ b/retroshare-gui/src/release/qss/uus.qss @@ -0,0 +1,48 @@ +.QWidget { + background-color: black; + +} + + +/* Customize the toolbar. */ +QToolBar { + border-image: url(qss/uus/uus.png); + + +} + + + +QPushButton#okButton { + min-height: 27px; + min-width: 77px; +} + +QPushButton#cancelprefButton { + min-height: 27px; + min-width: 77px; +} + +QPushButton#cancelButton { + min-height: 25px; + max-height: 25px; + min-width: 75px; +} + + +QPushButton#applyButton { + + min-height: 25px; + max-height: 25px; + min-width: 75px; +} + +QLabel +{ +color: white; +} + +QStatusBar{ + border-image: url(qss/uus/uus.png); + +} diff --git a/retroshare-gui/src/release/qss/uus/uus.png b/retroshare-gui/src/release/qss/uus/uus.png new file mode 100644 index 0000000000000000000000000000000000000000..1e4f98f989cdca91d94f72c035af25917122c938 GIT binary patch literal 1146 zcmeAS@N?(olHy`uVBq!ia0vp^IzX(>!3-pw=SF=1QjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`6_P!Id>I(3)EF2VS{N990fib~Fff!FFfhDIU|_JC!N4G1FlSew4Fdx+ zLx4|+t3-H_d`y{qOu0f#nL=#2LR`5*Y=vT6g>qb_NTLj0Cc?q`YT(R4zW^xaw)-tkjZImsQN)`a0z?E)ATL z>bN5BmfE6Ar*^H&TDnTJ(BbjXx!3-zIO4Q;Yk%3*Ez9zPd5?%l}>bUT1Fn lu&tr-bK>s9^X&cWKeO)ia0(G*aV`MGf~TvW%Q~loCIBXizt;c& literal 0 HcmV?d00001