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

Last change on this file since 1168 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;