source: trunk/demos/embedded/styledemo/files/application.qss@ 846

Last change on this file since 846 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

  • Property svn:eol-style set to native
File size: 2.1 KB
RevLine 
[556]1QWidget#StyleWidget
2{
3 background-color: none;
4 background-image: url(icons:nature_1.jpg);
5}
6
7QLabel, QAbstractButton
8{
9 font: bold;
10 color: beige;
11}
12
13QAbstractButton
14{
15 background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(173,216,230,60%), stop:1 rgba(0,0,139,60%) );
16 border-color: black;
17 border-style: solid;
18 border-width: 3px;
19 border-radius: 6px;
20}
21
22QAbstractButton:pressed, QAbstractButton:checked
23{
24 background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0,0,139,60%), stop:1 rgba(173,216,230,60%) );
25}
26
27QSpinBox {
28 padding-left: 24px;
29 padding-right: 24px;
30 border-color: darkkhaki;
31 border-style: solid;
32 border-radius: 5;
33 border-width: 3;
34}
35
36QSpinBox::up-button
37{
38 subcontrol-origin: padding;
39 subcontrol-position: right; /* position at the top right corner */
40 width: 24px;
41 height: 24px;
42 border-width: 3px;
43
44}
45
46QSpinBox::up-arrow
47{
48 image: url(icons:add.png);
49 width: 18px;
50 height: 18px;
51}
52
53
54QSpinBox::down-button
55{
56 subcontrol-origin: border;
57 subcontrol-position: left;
58 width: 24px;
59 height: 24px;
60 border-width: 3px;
61}
62
63QSpinBox::down-arrow
64{
65 image: url(icons:remove.png);
66 width: 18px;
67 height: 18px;
68}
69
70
71QScrollBar:horizontal
72{
73 border: 1px solid black;
74 background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0,0,139,60%), stop:1 rgba(173,216,230,60%) );
75 height: 15px;
76 margin: 0px 20px 0 20px;