53 |
53 |
54 Q_INIT_RESOURCE(hedgewars); |
54 Q_INIT_RESOURCE(hedgewars); |
55 |
55 |
56 qApp->setStyleSheet |
56 qApp->setStyleSheet |
57 (QString( |
57 (QString( |
58 ".HWForm{" |
58 ".HWForm{" |
59 "background-image: url(\":/res/Background.png\");" |
59 "background-image: url(\":/res/Background.png\");" |
60 "background-position: bottom center;" |
60 "background-position: bottom center;" |
61 "background-repeat: repeat-x;" |
61 "background-repeat: repeat-x;" |
62 "background-color: #870c8f;" |
62 "background-color: #870c8f;" |
63 "}" |
63 "}" |
64 // "PageMain > QPushButton{" |
64 |
65 "QPushButton{" |
65 "QPushButton{" |
66 "border: solid;" |
66 "border: solid;" |
67 "border-width: 4px;" |
67 "border-width: 4px;" |
68 "border-radius: 8px;" |
68 "border-radius: 8px;" |
69 "border-color: orange;" |
69 "border-color: orange;" |
70 "background-origin: content;" |
70 "background-origin: content;" |
71 "}" |
71 "}" |
72 // "PageMain > QPushButton:hover{" |
|
73 "QPushButton:hover{" |
72 "QPushButton:hover{" |
74 "border-color: yellow;" |
73 "border-color: yellow;" |
75 "}" |
74 "}" |
76 // "PageMain > QPushButton:pressed{" |
|
77 "QPushButton:pressed{" |
75 "QPushButton:pressed{" |
78 "border-color: white;" |
76 "border-color: white;" |
|
77 "}" |
|
78 |
|
79 "QComboBox{" |
|
80 "border: solid;" |
|
81 "border-width: 4px;" |
|
82 "border-radius: 16px;" |
|
83 "border-color: orange;" |
|
84 "background-color: #0d0544;" |
|
85 "color: orange;" |
|
86 "font: bold 14px;" |
|
87 "padding: 3px;" |
|
88 // "text-align: center;" |
|
89 "}" |
|
90 "QComboBox:hover{" |
|
91 "border-color: yellow;" |
|
92 "}" |
|
93 "QComboBox:pressed{" |
|
94 "border-color: white;" |
|
95 "}" |
|
96 "QComboBox::drop-down{" |
|
97 "border: transparent;" |
|
98 "width: 25px;" |
|
99 "}" |
|
100 "QComboBox::down-arrow {" |
|
101 "background-image: url(\":/res/dropdown.png\");" |
|
102 "height: 16px;" |
|
103 "width: 16px;" |
|
104 "}" |
|
105 "QComboBox QAbstractItemView{" |
|
106 "border: solid transparent;" |
|
107 "border-width: 4px;" |
|
108 //"border-radius: 12px;" |
|
109 "border-color: orange;" |
|
110 "background-color: #0d0544;" |
|
111 "color: orange;" |
|
112 "font: bold 14px;" |
79 "}" |
113 "}" |
80 ) |
114 ) |
81 ); |
115 ); |
82 |
116 |
83 bindir->cd("bin"); // workaround over NSIS installer |
117 bindir->cd("bin"); // workaround over NSIS installer |