1 | QWidget#StyleWidget
|
---|
2 | {
|
---|
3 | background-color: none;
|
---|
4 | background-image: url(:/files/nature_1.jpg);
|
---|
5 | }
|
---|
6 |
|
---|
7 | QLabel, QAbstractButton
|
---|
8 | {
|
---|
9 | color: beige;
|
---|
10 | }
|
---|
11 |
|
---|
12 | QFrame, QLabel#title {
|
---|
13 | border-width: 2px;
|
---|
14 | padding: 1px;
|
---|
15 | border-style: solid;
|
---|
16 | border-color: black;
|
---|
17 | border-radius: 5px;
|
---|
18 | }
|
---|
19 |
|
---|
20 | QFrame:focus {
|
---|
21 | border-width: 3px;
|
---|
22 | padding: 0px;
|
---|
23 | }
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 | QAbstractButton
|
---|
28 | {
|
---|
29 | background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(173,216,230,60%), stop:1 rgba(0,0,139,60%) );
|
---|
30 | border-color: black;
|
---|
31 | border-style: solid;
|
---|
32 | border-width: 3px;
|
---|
33 | border-radius: 6px;
|
---|
34 | }
|
---|
35 |
|
---|
36 | QAbstractButton:pressed, QAbstractButton:checked
|
---|
37 | {
|
---|
38 | background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0,0,139,60%), stop:1 rgba(173,216,230,60%) );
|
---|
39 | }
|
---|
40 |
|
---|
41 | QSpinBox {
|
---|
42 | padding-left: 24px;
|
---|
43 | padding-right: 24px;
|
---|
44 | border-color: darkkhaki;
|
---|
45 | border-style: solid;
|
---|
46 | border-radius: 5;
|
---|
47 | border-width: 3;
|
---|
48 | }
|
---|
49 |
|
---|
50 | QSpinBox::up-button
|
---|
51 | {
|
---|
52 | subcontrol-origin: padding;
|
---|
53 | subcontrol-position: right; /* position at the top right corner */
|
---|
54 | width: 24px;
|
---|
55 | height: 24px;
|
---|
56 | border-width: 3px;
|
---|
57 |
|
---|
58 | }
|
---|
59 |
|
---|
60 | QSpinBox::up-arrow
|
---|
61 | {
|
---|
62 | image: url(:/files/add.png);
|
---|
63 | width: 18px;
|
---|
64 | height: 18px;
|
---|
65 | }
|
---|
66 |
|
---|
67 |
|
---|
68 | QSpinBox::down-button
|
---|
69 | {
|
---|
70 | subcontrol-origin: border;
|
---|
71 | subcontrol-position: left;
|
---|
72 | width: 24px;
|
---|
73 | height: 24px;
|
---|
74 | border-width: 3px;
|
---|
75 | }
|
---|
76 |
|
---|
77 | QSpinBox::down-arrow
|
---|
78 | {
|
---|
79 | image: url(:/files/remove.png);
|
---|
80 | width: 18px;
|
---|
81 | height: 18px;
|
---|
82 | }
|
---|
83 |
|
---|
84 |
|
---|
85 | QScrollBar:horizontal
|
---|
86 | {
|
---|
87 | border: 1px solid black;
|
---|
88 | background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0,0,139,60%), stop:1 rgba(173,216,230,60%) );
|
---|
89 | height: 15px;
|
---|
90 | margin: 0px 20px 0 20px;
|
---|
91 | }
|
---|
92 |
|
---|
93 | QScrollBar::handle:horizontal
|
---|
94 | {
|
---|
95 | border: 1px solid black;
|
---|
96 | background: rgba(0,0,139,60%);
|
---|
97 | min-width: 20px;
|
---|
98 | }
|
---|
99 |
|
---|
100 | QScrollBar::add-line:horizontal
|
---|
101 | {
|
---|
102 | border: 1px solid black;
|
---|
103 | background: rgba(0,0,139,60%);
|
---|
104 | width: 20px;
|
---|
105 | subcontrol-position: right;
|
---|
106 | subcontrol-origin: margin;
|
---|
107 | }
|
---|
108 |
|
---|
109 | QScrollBar::sub-line:horizontal
|
---|
110 | {
|
---|
111 | border: 1px solid black;
|
---|
112 | background: rgba(0,0,139,60%);
|
---|
113 | width: 20px;
|
---|
114 | subcontrol-position: left;
|
---|
115 | subcontrol-origin: margin;
|
---|
116 | }
|
---|
117 |
|
---|
118 | QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal
|
---|
119 | {
|
---|
120 | border: none;
|
---|
121 | width: 16px;
|
---|
122 | height: 16px;
|
---|
123 | }
|
---|
124 |
|
---|
125 | QScrollBar:left-arrow:horizontal
|
---|
126 | {
|
---|
127 | image: url(:/files/add.png)
|
---|
128 | }
|
---|
129 |
|
---|
130 | QScrollBar::right-arrow:horizontal
|
---|
131 | {
|
---|
132 | image: url(:/files/remove.png)
|
---|
133 | }
|
---|
134 |
|
---|
135 | QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
---|
136 | {
|
---|
137 | background: none;
|
---|
138 | }
|
---|
139 |
|
---|