QTfrontend/main.cpp
changeset 1152 c72b939c00df
parent 1150 ae86e36dad2e
child 1153 825931b81ad4
--- a/QTfrontend/main.cpp	Tue Aug 05 15:39:51 2008 +0000
+++ b/QTfrontend/main.cpp	Tue Aug 05 20:57:08 2008 +0000
@@ -54,19 +54,28 @@
 	Q_INIT_RESOURCE(hedgewars);
 
 	qApp->setStyleSheet
-	  (QString(
-		   ".HWForm{"
-		   "background-image: url(\":/res/Background.png\");"
-		   "background-position: bottom center;"
-		   //" background-origin: content;"
-		   "background-repeat: repeat-x;"
-		   "background-color: #870c8f;"
-		   "}"
-		   "PageMain > QPushButton{"
-		   "border: solid transparent;"
-		   "}"
-		   )
-	   );
+		(QString(
+				".HWForm{"
+				"background-image: url(\":/res/Background.png\");"
+				"background-position: bottom center;"
+				"background-repeat: repeat-x;"
+				"background-color: #870c8f;"
+				"}"
+				"PageMain > QPushButton{"
+				"border: solid;"
+				"border-width: 4px;"
+				"border-radius: 8px;"
+				"border-color: orange;"
+				"background-origin: content;"
+				"}"
+				"PageMain > QPushButton:hover{"
+				"border-color: yellow;"
+				"}"
+				"PageMain > QPushButton:pressed{"
+				"border-color: white;"
+				"}"
+			)
+		);
 
 	bindir->cd("bin"); // workaround over NSIS installer