# HG changeset patch
# User unc0rr
# Date 1218535354 0
# Node ID 0d935c599fa301614ff6bc3c027d03e5c4730d84
# Parent 3b8806ffa1b1429edbe0db9b1df05f56b217a8cc
Add background to groupboxes
diff -r 3b8806ffa1b1 -r 0d935c599fa3 QTfrontend/hedgewars.qrc
--- 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 @@
res/Save.png
res/weaponsicon.png
res/teamicon.png
+ res/panelbg.png
diff -r 3b8806ffa1b1 -r 0d935c599fa3 QTfrontend/main.cpp
--- 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;"
diff -r 3b8806ffa1b1 -r 0d935c599fa3 QTfrontend/res/panelbg.png
Binary file QTfrontend/res/panelbg.png has changed