[556] | 1 | QWidget#StyleWidget
|
---|
| 2 | {
|
---|
| 3 | background-color: none;
|
---|
| 4 | background-image: url(icons:nature_1.jpg);
|
---|
| 5 | }
|
---|
| 6 |
|
---|
| 7 | QLabel, QAbstractButton
|
---|
| 8 | {
|
---|
| 9 | font: bold;
|
---|
| 10 | color: beige;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | QAbstractButton
|
---|
| 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 |
|
---|
| 22 | QAbstractButton: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 |
|
---|
| 27 | QSpinBox {
|
---|
| 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 |
|
---|
| 36 | QSpinBox::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 |
|
---|
| 46 | QSpinBox::up-arrow
|
---|
| 47 | {
|
---|
| 48 | image: url(icons:add.png);
|
---|
| 49 | width: 18px;
|
---|
| 50 | height: 18px;
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 | QSpinBox::down-button
|
---|
| 55 | {
|
---|
| 56 | subcontrol-origin: border;
|
---|
| 57 | subcontrol-position: left;
|
---|
| 58 | width: 24px;
|
---|
| 59 | height: 24px;
|
---|
| 60 | border-width: 3px;
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | QSpinBox::down-arrow
|
---|
| 64 | {
|
---|
| 65 | image: url(icons:remove.png);
|
---|
| 66 | width: 18px;
|
---|
| 67 | height: 18px;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | QScrollBar: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;
|
---|
| 77 | }
|
---|
| 78 |
|
---|
| 79 | QScrollBar::handle:horizontal
|
---|
| 80 | {
|
---|
| 81 | border: 1px solid black;
|
---|
| 82 | background: rgba(0,0,139,60%);
|
---|
| 83 | min-width: 20px;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | QScrollBar::add-line:horizontal
|
---|
| 87 | {
|
---|
| 88 | border: 1px solid black;
|
---|
| 89 | background: rgba(0,0,139,60%);
|
---|
| 90 | width: 20px;
|
---|
| 91 | subcontrol-position: right;
|
---|
| 92 | subcontrol-origin: margin;
|
---|
| 93 | }
|
---|
| 94 |
|
---|
| 95 | QScrollBar::sub-line:horizontal
|
---|
| 96 | {
|
---|
| 97 | border: 1px solid black;
|
---|
| 98 | background: rgba(0,0,139,60%);
|
---|
| 99 | width: 20px;
|
---|
| 100 | subcontrol-position: left;
|
---|
| 101 | subcontrol-origin: margin;
|
---|
| 102 | }
|
---|
| 103 |
|
---|
| 104 | QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal
|
---|
| 105 | {
|
---|
| 106 | border: none;
|
---|
| 107 | width: 16px;
|
---|
| 108 | height: 16px;
|
---|
| 109 | }
|
---|
| 110 |
|
---|
| 111 | QScrollBar:left-arrow:horizontal
|
---|
| 112 | {
|
---|
| 113 | image: url(icons:add.png)
|
---|
| 114 | }
|
---|
| 115 |
|
---|
| 116 | QScrollBar::right-arrow:horizontal
|
---|
| 117 | {
|
---|
| 118 | image: url(icons:remove.png)
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
---|
| 122 | {
|
---|
| 123 | background: none;
|
---|
| 124 | }
|
---|
| 125 |
|
---|