Add background to groupboxes
authorunc0rr
Tue, 12 Aug 2008 10:02:34 +0000
changeset 1197 0d935c599fa3
parent 1196 3b8806ffa1b1
child 1198 b600b0d9408c
Add background to groupboxes
QTfrontend/hedgewars.qrc
QTfrontend/main.cpp
QTfrontend/res/panelbg.png
--- a/QTfrontend/hedgewars.qrc	Tue Aug 12 09:52:57 2008 +0000
+++ b/QTfrontend/hedgewars.qrc	Tue Aug 12 10:02:34 2008 +0000
@@ -33,5 +33,6 @@
     <file>res/Save.png</file>
     <file>res/weaponsicon.png</file>
     <file>res/teamicon.png</file>
+    <file>res/panelbg.png</file>
 </qresource>
 </RCC>
--- a/QTfrontend/main.cpp	Tue Aug 12 09:52:57 2008 +0000
+++ b/QTfrontend/main.cpp	Tue Aug 12 10:02:34 2008 +0000
@@ -173,11 +173,14 @@
 				"}"
 
 			"QGroupBox{"
+				"background-image: url(\":/res/panelbg.png\");"
+				"background-position: bottom center;"
+				"background-repeat: repeat-x;"
 				"border: solid;"
 				"border-width: 4px;"
 				"border-radius: 16px;"
 				"border-color: orange;"
-				"background-color: #130f2c;"
+				"background-color: #010101;"
 				"color: orange;"
 				"font: bold 14px;"
 				"padding: 3px;"
Binary file QTfrontend/res/panelbg.png has changed