| 1 |
QMenuBar { |
| 2 |
spacing: 10px; |
| 3 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white, stop : 0.5 gray, stop : 1 black); |
| 4 |
border : 1px outset; |
| 5 |
} |
| 6 |
QMenuBar::item { |
| 7 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 8 |
background: transparent; |
| 9 |
} |
| 10 |
|
| 11 |
QMenuBar::item:selected { |
| 12 |
border-radius: 3px; |
| 13 |
border: 2px outset gray; |
| 14 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray); |
| 15 |
background : rgba(200, 200, 200, 150);} |
| 16 |
|
| 17 |
QMenuBar::item:pressed { |
| 18 |
border-radius: 3px; |
| 19 |
border: 2px inset gray; |
| 20 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray); |
| 21 |
background : rgba(100, 100, 100, 150);} |
| 22 |
|
| 23 |
QMenu { |
| 24 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 25 |
|
| 26 |
} |
| 27 |
|
| 28 |
QMenu::item { |
| 29 |
padding: 2px 25px 2px 20px; |
| 30 |
border: 1px solid transparent; /* reserve space for selection border */ |
| 31 |
background : rgba(200,200,200,100); |
| 32 |
color : rgb(40,40,40); |
| 33 |
} |
| 34 |
|
| 35 |
QMenu::item:disabled { |
| 36 |
padding: 2px 25px 2px 20px; |
| 37 |
border: 1px solid transparent; /* reserve space for selection border */ |
| 38 |
background : rgba(200,200,200,100); |
| 39 |
color : rgb(200,200,200); |
| 40 |
} |
| 41 |
|
| 42 |
QMenu::item:selected { |
| 43 |
color : rgb(200,200,200); |
| 44 |
border-radius: 2px; |
| 45 |
border: 1px outset gray; |
| 46 |
background: rgba(100, 100, 100, 150); |
| 47 |
} |
| 48 |
|
| 49 |
QMenu::icon:checked { |
| 50 |
border: 1px inset gray; |
| 51 |
position: absolute; |
| 52 |
top: 1px; |
| 53 |
right: 1px; |
| 54 |
bottom: 1px; |
| 55 |
left: 1px; |
| 56 |
} |
| 57 |
|
| 58 |
QMenu::separator { |
| 59 |
height: 2px; |
| 60 |
background: rgb(40,40,40); |
| 61 |
margin-left: 10px; |
| 62 |
margin-right: 5px; |
| 63 |
} |
| 64 |
|
| 65 |
QMenu::indicator { |
| 66 |
width: 13px; |
| 67 |
height: 13px; |
| 68 |
} |
| 69 |
|
| 70 |
QMenu::indicator:non-exclusive:unchecked { |
| 71 |
image: url(C:/Users/Iroul/Desktop/images/checkbox_unchecked.png); |
| 72 |
} |
| 73 |
|
| 74 |
QMenu::indicator:non-exclusive:unchecked:selected { |
| 75 |
image: url(C:/Users/Iroul/Desktop/images/checkbox_unchecked_hover.png); |
| 76 |
} |
| 77 |
|
| 78 |
QMenu::indicator:non-exclusive:checked { |
| 79 |
image: url(C:/Users/Iroul/Desktop/images/checkbox_checked.png); |
| 80 |
} |
| 81 |
|
| 82 |
QMenu::indicator:non-exclusive:checked:selected { |
| 83 |
image: url(C:/Users/Iroul/Desktop/images/checkbox_checked_hover.png); |
| 84 |
} |
| 85 |
|
| 86 |
/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ |
| 87 |
QMenu::indicator:exclusive:unchecked { |
| 88 |
image: url(C:/Users/Iroul/Desktop/images/radiobutton_unchecked.png); |
| 89 |
} |
| 90 |
|
| 91 |
QMenu::indicator:exclusive:unchecked:selected { |
| 92 |
image: url(C:/Users/Iroul/Desktop/images/radiobutton_unchecked_hover.png); |
| 93 |
} |
| 94 |
|
| 95 |
QMenu::indicator:exclusive:checked { |
| 96 |
image: url(C:/Users/Iroul/Desktop/images/radiobutton_checked.png); |
| 97 |
} |
| 98 |
|
| 99 |
QMenu::indicator:exclusive:checked:selected { |
| 100 |
image: url(C:/Users/Iroul/Desktop/images/radiobutton_checked_hover.png); |
| 101 |
} |
| 102 |
QToolBar { |
| 103 |
background-color : gray; |
| 104 |
border : 1px inset; |
| 105 |
} |
| 106 |
|
| 107 |
QToolBar:first { |
| 108 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white,stop : 1 gray); |
| 109 |
border : 1px inset; |
| 110 |
} |
| 111 |
QToolBar:middle { |
| 112 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 gray,stop : 1 gray); |
| 113 |
border : 1px inset; |
| 114 |
} |
| 115 |
QToolBar:last { |
| 116 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 gray,stop : 1 black); |
| 117 |
border : 1px inset; |
| 118 |
} |
| 119 |
|
| 120 |
QToolBar:only-one { |
| 121 |
background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white,stop : 1 black); |
| 122 |
border : 1px inset; |
| 123 |
} |
| 124 |
QToolBar QToolButton { |
| 125 |
background : transparent; |
| 126 |
border : 2px outset transparent; |
| 127 |
border-radius : 3px; |
| 128 |
margin : 2px; |
| 129 |
} |
| 130 |
QToolBar QToolButton:hover { |
| 131 |
background-color : rgba(200,200,200,150); |
| 132 |
border : 2px outset gray; |
| 133 |
border-radius : 3px; |
| 134 |
} |
| 135 |
QToolBar QToolButton:pressed { |
| 136 |
background-color : rgba(200,200,200,150); |
| 137 |
border : 2px inset gray; |
| 138 |
border-radius : 3px; |
| 139 |
} |
| 140 |
QToolBar QToolButton:checked { |
| 141 |
background-color : rgba(200,200,200,150); |
| 142 |
border : 2px inset gray; |
| 143 |
border-radius : 3px; |
| 144 |
} |
| 145 |
QTabWidget::pane { /* The tab widget frame */ |
| 146 |
border-top: 2px solid #C2C7CB; |
| 147 |
background : blue; |
| 148 |
border-color: #9B9B9B; |
| 149 |
border-bottom-color: #C2C7CB; /* same as pane color */ |
| 150 |
} |
| 151 |
|
| 152 |
QTabWidget::tab-bar { |
| 153 |
background : blue; |
| 154 |
left: 5px; /* move to the right by 5px */ |
| 155 |
} |
| 156 |
|
| 157 |
QTabWidget { |
| 158 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 159 |
} |
| 160 |
QTabBar { |
| 161 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 162 |
} |
| 163 |
/* Style the tab using the tab sub-control. Note that |
| 164 |
it reads QTabBar _not_ QTabWidget */ |
| 165 |
QTabBar::tab { |
| 166 |
border: 2px solid #C4C4C3; |
| 167 |
border-bottom-color: #C2C7CB; /* same as the pane color */ |
| 168 |
border-top-left-radius: 4px; |
| 169 |
border-top-right-radius: 4px; |
| 170 |
min-width: 8ex; |
| 171 |
padding: 2px; |
| 172 |
} |
| 173 |
|
| 174 |
QTabBar::tab:hover { |
| 175 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray); |
| 176 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 177 |
border-color: #9B9B9B; |
| 178 |
border-bottom-color: #C2C7CB; /* same as pane color */ |
| 179 |
} |
| 180 |
|
| 181 |
QTabBar::tab:selected { |
| 182 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray); |
| 183 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 184 |
border-color: #9B9B9B; |
| 185 |
border-bottom-color: #C2C7CB; /* same as pane color */ |
| 186 |
} |
| 187 |
|
| 188 |
QTabBar::tab:!selected { |
| 189 |
margin-top: 2px; /* make non-selected tabs look smaller */ |
| 190 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray); |
| 191 |
color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 192 |
|
| 193 |
} |
| 194 |
QStatusBar { |
| 195 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 196 |
} |
| 197 |
|
| 198 |
QWidget#taskbar { |
| 199 |
background : transparent; |
| 200 |
} |
| 201 |
#tasklayout { |
| 202 |
background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white); |
| 203 |
} |