# HG changeset patch # User unc0rr # Date 1222593504 0 # Node ID 789db262d90d3bca639898892f4f22094c47b311 # Parent cea4a8f52f5a8ef20bf856b9f329f52fb5e5fc4b - Customize spinbox arrows - Optimize frontend's images diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/hedgewars.qrc --- a/QTfrontend/hedgewars.qrc Sun Sep 28 08:28:32 2008 +0000 +++ b/QTfrontend/hedgewars.qrc Sun Sep 28 09:18:24 2008 +0000 @@ -34,5 +34,7 @@ res/weaponsicon.png res/teamicon.png res/panelbg.png + res/spin_up.png + res/spin_down.png diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/main.cpp --- a/QTfrontend/main.cpp Sun Sep 28 08:28:32 2008 +0000 +++ b/QTfrontend/main.cpp Sun Sep 28 09:18:24 2008 +0000 @@ -127,6 +127,24 @@ "QSpinBox:hover{" "border-color: yellow;" "}" + "QSpinBox::up-button{" + "background: transparent;" + "width: 16px;" + "height: 10px;" + "}" + "QSpinBox::up-arrow{" + "image: url(\":/res/spin_up.png\");" + //"width: 5px;" + //"height: 5px;" + "}" + "QSpinBox::down-button{" + "background: transparent;" + "width: 16px;" + "height: 10px;" + "}" + "QSpinBox::down-arrow{" + "image: url(\":/res/spin_down.png\");" + "}" "QToolBox{" "border: solid;" diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/About.png Binary file QTfrontend/res/About.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/Background.png Binary file QTfrontend/res/Background.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/Exit.png Binary file QTfrontend/res/Exit.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/HedgewarsTitle.png Binary file QTfrontend/res/HedgewarsTitle.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/LocalPlay.png Binary file QTfrontend/res/LocalPlay.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/NetworkPlay.png Binary file QTfrontend/res/NetworkPlay.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/Save.png Binary file QTfrontend/res/Save.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/Settings.png Binary file QTfrontend/res/Settings.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/ammopic.png Binary file QTfrontend/res/ammopic.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/bonus.png Binary file QTfrontend/res/bonus.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/0.png Binary file QTfrontend/res/botlevels/0.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/1.png Binary file QTfrontend/res/botlevels/1.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/2.png Binary file QTfrontend/res/botlevels/2.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/3.png Binary file QTfrontend/res/botlevels/3.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/4.png Binary file QTfrontend/res/botlevels/4.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/5.png Binary file QTfrontend/res/botlevels/5.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net0.png Binary file QTfrontend/res/botlevels/net0.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net1.png Binary file QTfrontend/res/botlevels/net1.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net2.png Binary file QTfrontend/res/botlevels/net2.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net3.png Binary file QTfrontend/res/botlevels/net3.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net4.png Binary file QTfrontend/res/botlevels/net4.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/botlevels/net5.png Binary file QTfrontend/res/botlevels/net5.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/checked.png Binary file QTfrontend/res/checked.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/dropdown.png Binary file QTfrontend/res/dropdown.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/hh25x25.png Binary file QTfrontend/res/hh25x25.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/infinity.png Binary file QTfrontend/res/infinity.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/net.png Binary file QTfrontend/res/net.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/panelbg.png Binary file QTfrontend/res/panelbg.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/spin_down.png Binary file QTfrontend/res/spin_down.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/spin_up.png Binary file QTfrontend/res/spin_up.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/teamicon.png Binary file QTfrontend/res/teamicon.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/unchecked.png Binary file QTfrontend/res/unchecked.png has changed diff -r cea4a8f52f5a -r 789db262d90d QTfrontend/res/weaponsicon.png Binary file QTfrontend/res/weaponsicon.png has changed