|
24 | 24 | selection-background-color: {{ foreground|color(state="disabledSelectionBackground") }}; |
25 | 25 | selection-color: {{ foreground|color(state="disabled") }}; |
26 | 26 | } |
27 | | -QWidget { |
28 | | - backward-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=270) }}; |
29 | | - forward-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=90) }}; |
30 | | - leftarrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=270) }}; |
31 | | - rightarrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=90) }}; |
32 | | - downarrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=180) }}; |
33 | | - uparrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward") }}; |
34 | | - dockwidget-close-icon: {{ foreground|color(state="icon")|url(id="close") }}; |
35 | | - {{ foreground|color(state="icon")|url(id="close")|env(value="lineedit-clear-button-icon: ${};", version=">=6.0.0") }} |
36 | | - home-icon: {{ foreground|color(state="icon")|url(id="home") }}; |
37 | | - trash-icon: {{ foreground|color(state="icon")|url(id="delete") }}; |
38 | | - filedialog-parent-directory-icon: {{ foreground|color(state="icon")|url(id="arrow_upward") }}; |
39 | | - filedialog-new-directory-icon: {{ foreground|color(state="icon")|url(id="create_new_folder") }}; |
40 | | - filedialog-detailedview-icon: {{ foreground|color(state="icon")|url(id="list") }}; |
41 | | - filedialog-listview-icon: {{ foreground|color(state="icon")|url(id="grid_view") }}; |
42 | | - filedialog-infoview-icon: {{ foreground|color(state="icon")|url(id="info") }}; |
43 | | - filedialog-start-icon: {{ foreground|color(state="icon")|url(id="drive_file_move") }}; |
44 | | - filedialog-end-icon: {{ foreground|color(state="icon")|url(id="drive_file_move_rtl") }}; |
45 | | - filedialog-contentsview-icon: {{ foreground|color(state="icon")|url(id="search") }}; |
46 | | - titlebar-close-icon: {{ foreground|color(state="icon")|url(id="close") }}; |
47 | | - titlebar-normal-icon: {{ foreground|color(state="icon")|url(id="flip_to_front") }}; |
48 | | - titlebar-maximize-icon: {{ foreground|color(state="icon")|url(id="fullscreen") }}; |
49 | | - titlebar-minimize-icon: {{ foreground|color(state="icon")|url(id="minimize") }}; |
50 | | - titlebar-contexthelp-icon: {{ foreground|color(state="icon")|url(id="question_mark") }}; |
51 | | - titlebar-shade-icon: {{ foreground|color(state="icon")|url(id="chevron_right", rotate=270) }}; |
52 | | - titlebar-unshade-icon: {{ foreground|color(state="icon")|url(id="chevron_right", rotate=90) }}; |
53 | | -} |
54 | | -QCommandLinkButton { |
55 | | - qproperty-icon: {{ primary|color|url(id="east") }}; |
56 | | -} |
57 | 27 | QCheckBox:!window, |
58 | 28 | QRadioButton:!window, |
59 | 29 | QPushButton:!window, |
|
201 | 171 | QToolBar > QToolButton:checked:enabled { |
202 | 172 | background: {{ toolbar.activeBackground|color }}; |
203 | 173 | } |
204 | | -QToolBar > QToolBarExtension { |
205 | | - qproperty-icon: {{ foreground|color(state="icon")|url(id="double_arrow") }}; |
206 | | -} |
207 | | -QToolBar > QToolBarExtension:disabled { |
208 | | - qproperty-icon: {{ foreground|color(state="disabled")|url(id="double_arrow") }}; |
209 | | -} |
210 | 174 | QToolBar > QWidget { |
211 | 175 | background: transparent; |
212 | 176 | } |
|
998 | 962 | {{ corner-shape|corner(size=4)|env(value="border-radius: ${}px;", version="<6.0.0", os="Darwin") }} |
999 | 963 | {{ primary|color(state="table.selectionBackground")|env(value="selection-background-color: ${};", version="<6.0.0") }} |
1000 | 964 | } |
1001 | | -QCalendarWidget > .QWidget > QToolButton#qt_calendar_prevmonth { |
1002 | | - qproperty-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=270) }}; |
1003 | | -} |
1004 | | -QCalendarWidget > .QWidget > QToolButton#qt_calendar_nextmonth { |
1005 | | - qproperty-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=90) }}; |
1006 | | -} |
1007 | 965 | QLineEdit, |
1008 | 966 | QAbstractSpinBox { |
1009 | 967 | padding: 3px 4px; |
|
1168 | 1126 | } |
1169 | 1127 |
|
1170 | 1128 | """ # noqa: E501 |
| 1129 | +TEMPLATE_STANDARD_ICONS_STYLESHEET = """ |
| 1130 | +QCalendarWidget { |
| 1131 | + leftarrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=270) }}; |
| 1132 | + rightarrow-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=90) }}; |
| 1133 | +} |
| 1134 | +QCommandLinkButton { |
| 1135 | + qproperty-icon: {{ foreground|color(state="icon")|url(id="east") }}; |
| 1136 | +} |
| 1137 | +QDockWidget, |
| 1138 | +QMdiSubWindow { |
| 1139 | + titlebar-close-icon: {{ foreground|color(state="icon")|url(id="close") }}; |
| 1140 | + titlebar-normal-icon: {{ foreground|color(state="icon")|url(id="flip_to_front") }}; |
| 1141 | +} |
| 1142 | +QFileDialog { |
| 1143 | + backward-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=270) }}; |
| 1144 | + filedialog-detailedview-icon: {{ foreground|color(state="icon")|url(id="list") }}; |
| 1145 | + filedialog-listview-icon: {{ foreground|color(state="icon")|url(id="grid_view") }}; |
| 1146 | + filedialog-new-directory-icon: {{ foreground|color(state="icon")|url(id="create_new_folder") }}; |
| 1147 | + filedialog-parent-directory-icon: {{ foreground|color(state="icon")|url(id="arrow_upward") }}; |
| 1148 | + forward-icon: {{ foreground|color(state="icon")|url(id="arrow_upward", rotate=90) }}; |
| 1149 | +} |
| 1150 | +QLineEdit { |
| 1151 | + {{ foreground|color(state="icon")|url(id="close")|env(value="lineedit-clear-button-icon:${};",version=">=6.0.0") }}; |
| 1152 | +} |
| 1153 | +QMdiSubWindow { |
| 1154 | + titlebar-maximize-icon: {{ foreground|color(state="icon")|url(id="fullscreen") }}; |
| 1155 | + titlebar-minimize-icon: {{ foreground|color(state="icon")|url(id="minimize") }}; |
| 1156 | +} |
| 1157 | +QToolBarExtension { |
| 1158 | + qproperty-icon: {{ foreground|color(state="icon")|url(id="double_arrow") }}; |
| 1159 | +} |
| 1160 | +""" # noqa: E501 |
0 commit comments