|
1 |
|
2 QWidget#StartScreen, QWidget#MainWidget { |
|
3 border: none; |
|
4 } |
|
5 |
|
6 QWidget#StartScreen, .QFrame { |
|
7 background-color: beige; |
|
8 } |
|
9 |
|
10 QPushButton, QToolButton { |
|
11 background-color: palegoldenrod; |
|
12 border-width: 2px; |
|
13 border-color: darkkhaki; |
|
14 border-style: solid; |
|
15 border-radius: 5; |
|
16 padding: 3px; |
|
17 /* min-width: 96px; */ |
|
18 /* min-height: 48px; */ |
|
19 } |
|
20 |
|
21 QPushButton:hover, QToolButton:hover { |
|
22 background-color: khaki; |
|
23 } |
|
24 |
|
25 QPushButton:pressed, QToolButton:pressed { |
|
26 padding-left: 5px; |
|
27 padding-top: 5px; |
|
28 background-color: #d0d67c; |
|
29 } |
|
30 |
|
31 QLabel, QAbstractButton { |
|
32 font: italic "Times New Roman"; |
|
33 } |
|
34 |
|
35 QFrame, QLabel#title { |
|
36 border-width: 2px; |
|
37 padding: 1px; |
|
38 border-style: solid; |
|
39 border-color: darkkhaki; |
|
40 border-radius: 5px; |
|
41 } |
|
42 |
|
43 QFrame:focus { |
|
44 border-width: 3px; |
|
45 padding: 0px; |
|
46 } |
|
47 |
|
48 |
|
49 QLabel { |
|
50 border: none; |
|
51 padding: 0; |
|
52 background: none; |
|
53 } |
|
54 |
|
55 QLabel#title { |
|
56 font: 32px bold; |
|
57 } |
|
58 |
|
59 QSpinBox { |
|
60 padding-left: 24px; |
|
61 padding-right: 24px; |
|
62 border-color: darkkhaki; |
|
63 border-style: solid; |
|
64 border-radius: 5; |
|
65 border-width: 3; |
|
66 } |
|
67 |
|
68 QSpinBox::up-button |
|
69 { |
|
70 subcontrol-origin: padding; |
|
71 subcontrol-position: right; /* position at the top right corner */ |
|
72 width: 24px; |
|
73 height: 24px; |
|
74 border-width: 3px; |
|
75 border-image: url(:/files/spindownpng) 1; |
|
76 } |
|
77 |
|
78 QSpinBox::up-arrow { |
|
79 image: url(:/files/add.png); |
|
80 width: 12px; |
|
81 height: 12px; |
|
82 } |
|
83 |
|
84 |
|
85 QSpinBox::down-button |
|
86 { |
|
87 subcontrol-origin: border; |
|
88 subcontrol-position: left; |
|
89 width: 24px; |
|
90 height: 24px; |
|
91 border-width: 3px; |
|
92 border-image: url(:/files/spindownpng) 1; |
|
93 } |
|
94 |
|
95 QSpinBox::down-arrow { |
|
96 image: url(:/files/remove.png); |
|
97 width: 12px; |
|
98 height: 12px; |
|
99 } |