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