Move QWidget icon overrides to start of stylesheet.
Move the QWidget icon overrides to the beginning of the stylesheet, so they do not override the QDockWidget icon overrides. Closes #65.main
parent
c5e548df98
commit
6e08777b50
12578
breeze_resources.py
12578
breeze_resources.py
File diff suppressed because it is too large
Load Diff
|
@ -60,6 +60,78 @@ QWidget
|
||||||
selection-color: #eff0f1;
|
selection-color: #eff0f1;
|
||||||
background-clip: border;
|
background-clip: border;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
|
|
||||||
|
/* QDialogButtonBox icons */
|
||||||
|
dialog-cancel-icon: url(dark:dialog_cancel.svg);
|
||||||
|
dialog-close-icon: url(dark:dialog_close.svg);
|
||||||
|
dialog-ok-icon: url(dark:dialog_ok.svg);
|
||||||
|
dialog-open-icon: url(dark:dialog_open.svg);
|
||||||
|
dialog-reset-icon: url(dark:dialog_reset.svg);
|
||||||
|
dialog-save-icon: url(dark:dialog_save.svg);
|
||||||
|
dialog-yes-icon: url(dark:dialog_ok.svg);
|
||||||
|
dialog-help-icon: url(dark:dialog_help.svg);
|
||||||
|
dialog-no-icon: url(dark:dialog_no.svg);
|
||||||
|
dialog-apply-icon: url(dark:dialog_ok.svg);
|
||||||
|
dialog-discard-icon: url(dark:dialog_discard.svg);
|
||||||
|
|
||||||
|
/* File icons */
|
||||||
|
filedialog-backward-icon: url(dark:left_arrow.svg);
|
||||||
|
filedialog-contentsview-icon: url(dark:file_dialog_contents.svg);
|
||||||
|
filedialog-detailedview-icon: url(dark:file_dialog_detailed.svg);
|
||||||
|
filedialog-end-icon: url(dark:file_dialog_end.svg);
|
||||||
|
filedialog-infoview-icon: url(dark:file_dialog_info.svg);
|
||||||
|
filedialog-listview-icon: url(dark:file_dialog_list.svg);
|
||||||
|
filedialog-new-directory-icon: url(dark:folder.svg);
|
||||||
|
filedialog-parent-directory-icon: url(dark:up_arrow.svg);
|
||||||
|
filedialog-start-icon: url(dark:file_dialog_start.svg);
|
||||||
|
directory-closed-icon: url(dark:folder.svg);
|
||||||
|
directory-icon: url(dark:folder.svg);
|
||||||
|
directory-link-icon: url(dark:folder_link.svg);
|
||||||
|
directory-open-icon: url(dark:folder_open.svg);
|
||||||
|
file-icon: url(dark:file.svg);
|
||||||
|
file-link-icon: url(dark:file_link.svg);
|
||||||
|
home-icon: url(dark:home_directory.svg);
|
||||||
|
|
||||||
|
/* QMessageBox icons */
|
||||||
|
messagebox-critical-icon: url(dark:message_critical.svg);
|
||||||
|
messagebox-information-icon: url(dark:message_information.svg);
|
||||||
|
messagebox-question-icon: url(dark:message_question.svg);
|
||||||
|
messagebox-warning-icon: url(dark:message_warning.svg);
|
||||||
|
|
||||||
|
/* Computer icons */
|
||||||
|
computer-icon: url(dark:computer.svg);
|
||||||
|
desktop-icon: url(dark:desktop.svg);
|
||||||
|
cd-icon: url(dark:disc_drive.svg);
|
||||||
|
dvd-icon: url(dark:disc_drive.svg);
|
||||||
|
floppy-icon: url(dark:floppy_drive.svg);
|
||||||
|
harddisk-icon: url(dark:hard_drive.svg);
|
||||||
|
network-icon: url(dark:network_drive.svg);
|
||||||
|
trash-icon: url(dark:trash.svg);
|
||||||
|
|
||||||
|
/* Arrow icons */
|
||||||
|
uparrow-icon: url(dark:up_arrow.svg);
|
||||||
|
downarrow-icon: url(dark:down_arrow.svg);
|
||||||
|
leftarrow-icon: url(dark:left_arrow.svg);
|
||||||
|
rightarrow-icon: url(dark:right_arrow.svg);
|
||||||
|
backward-icon: url(dark:left_arrow.svg);
|
||||||
|
forward-icon: url(dark:right_arrow.svg);
|
||||||
|
|
||||||
|
/* Titlebar icons */
|
||||||
|
titlebar-close-icon: url(dark:window_close.svg);
|
||||||
|
titlebar-contexthelp-icon: url(dark:help.svg);
|
||||||
|
titlebar-maximize-icon: url(dark:maximize.svg);
|
||||||
|
titlebar-menu-icon: url(dark:menu.svg);
|
||||||
|
titlebar-minimize-icon: url(dark:minimize.svg);
|
||||||
|
titlebar-normal-icon: url(dark:restore.svg);
|
||||||
|
titlebar-shade-icon: url(dark:shade.svg);
|
||||||
|
titlebar-unshade-icon: url(dark:unshade.svg);
|
||||||
|
|
||||||
|
/* Other icons */
|
||||||
|
dockwidget-close-icon: url(dark:close.svg);
|
||||||
|
/**
|
||||||
|
* Only available in Qt6, and causes other issues. See #62.
|
||||||
|
* lineedit-clear-button-icon: url(dark:clear_text.svg);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:disabled
|
QWidget:disabled
|
||||||
|
@ -1605,9 +1677,9 @@ QDockWidget
|
||||||
* around the rest of the dock widget, which the remaining border
|
* around the rest of the dock widget, which the remaining border
|
||||||
* cannot be removed.
|
* cannot be removed.
|
||||||
*
|
*
|
||||||
* There is a bug in Qt6, where the icons are small. It doesn't
|
* There is a bug in non-Breeze styles, where the icons are small. It
|
||||||
* change if we use `image` instead of `border-image`, nor if we
|
* doesn't change if we use `image` instead of `border-image`, nor if
|
||||||
* use `qproperty-icon`, etc. The icon seem to be half the size
|
* we use `qproperty-icon`, etc. The icon seem to be half the size
|
||||||
* of our desired values.
|
* of our desired values.
|
||||||
*/
|
*/
|
||||||
QDockWidget::close-button,
|
QDockWidget::close-button,
|
||||||
|
@ -2354,81 +2426,6 @@ QDialogButtonBox
|
||||||
dialog-discard-icon: url(dark:dialog_discard.svg);
|
dialog-discard-icon: url(dark:dialog_discard.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget
|
|
||||||
{
|
|
||||||
/* QDialogButtonBox icons */
|
|
||||||
dialog-cancel-icon: url(dark:dialog_cancel.svg);
|
|
||||||
dialog-close-icon: url(dark:dialog_close.svg);
|
|
||||||
dialog-ok-icon: url(dark:dialog_ok.svg);
|
|
||||||
dialog-open-icon: url(dark:dialog_open.svg);
|
|
||||||
dialog-reset-icon: url(dark:dialog_reset.svg);
|
|
||||||
dialog-save-icon: url(dark:dialog_save.svg);
|
|
||||||
dialog-yes-icon: url(dark:dialog_ok.svg);
|
|
||||||
dialog-help-icon: url(dark:dialog_help.svg);
|
|
||||||
dialog-no-icon: url(dark:dialog_no.svg);
|
|
||||||
dialog-apply-icon: url(dark:dialog_ok.svg);
|
|
||||||
dialog-discard-icon: url(dark:dialog_discard.svg);
|
|
||||||
|
|
||||||
/* File icons */
|
|
||||||
filedialog-backward-icon: url(dark:left_arrow.svg);
|
|
||||||
filedialog-contentsview-icon: url(dark:file_dialog_contents.svg);
|
|
||||||
filedialog-detailedview-icon: url(dark:file_dialog_detailed.svg);
|
|
||||||
filedialog-end-icon: url(dark:file_dialog_end.svg);
|
|
||||||
filedialog-infoview-icon: url(dark:file_dialog_info.svg);
|
|
||||||
filedialog-listview-icon: url(dark:file_dialog_list.svg);
|
|
||||||
filedialog-new-directory-icon: url(dark:folder.svg);
|
|
||||||
filedialog-parent-directory-icon: url(dark:up_arrow.svg);
|
|
||||||
filedialog-start-icon: url(dark:file_dialog_start.svg);
|
|
||||||
directory-closed-icon: url(dark:folder.svg);
|
|
||||||
directory-icon: url(dark:folder.svg);
|
|
||||||
directory-link-icon: url(dark:folder_link.svg);
|
|
||||||
directory-open-icon: url(dark:folder_open.svg);
|
|
||||||
file-icon: url(dark:file.svg);
|
|
||||||
file-link-icon: url(dark:file_link.svg);
|
|
||||||
home-icon: url(dark:home_directory.svg);
|
|
||||||
|
|
||||||
/* QMessageBox icons */
|
|
||||||
messagebox-critical-icon: url(dark:message_critical.svg);
|
|
||||||
messagebox-information-icon: url(dark:message_information.svg);
|
|
||||||
messagebox-question-icon: url(dark:message_question.svg);
|
|
||||||
messagebox-warning-icon: url(dark:message_warning.svg);
|
|
||||||
|
|
||||||
/* Computer icons */
|
|
||||||
computer-icon: url(dark:computer.svg);
|
|
||||||
desktop-icon: url(dark:desktop.svg);
|
|
||||||
cd-icon: url(dark:disc_drive.svg);
|
|
||||||
dvd-icon: url(dark:disc_drive.svg);
|
|
||||||
floppy-icon: url(dark:floppy_drive.svg);
|
|
||||||
harddisk-icon: url(dark:hard_drive.svg);
|
|
||||||
network-icon: url(dark:network_drive.svg);
|
|
||||||
trash-icon: url(dark:trash.svg);
|
|
||||||
|
|
||||||
/* Arrow icons */
|
|
||||||
uparrow-icon: url(dark:up_arrow.svg);
|
|
||||||
downarrow-icon: url(dark:down_arrow.svg);
|
|
||||||
leftarrow-icon: url(dark:left_arrow.svg);
|
|
||||||
rightarrow-icon: url(dark:right_arrow.svg);
|
|
||||||
backward-icon: url(dark:left_arrow.svg);
|
|
||||||
forward-icon: url(dark:right_arrow.svg);
|
|
||||||
|
|
||||||
/* Titlebar icons */
|
|
||||||
titlebar-close-icon: url(dark:window_close.svg);
|
|
||||||
titlebar-contexthelp-icon: url(dark:help.svg);
|
|
||||||
titlebar-maximize-icon: url(dark:maximize.svg);
|
|
||||||
titlebar-menu-icon: url(dark:menu.svg);
|
|
||||||
titlebar-minimize-icon: url(dark:minimize.svg);
|
|
||||||
titlebar-normal-icon: url(dark:restore.svg);
|
|
||||||
titlebar-shade-icon: url(dark:shade.svg);
|
|
||||||
titlebar-unshade-icon: url(dark:unshade.svg);
|
|
||||||
|
|
||||||
/* Other icons */
|
|
||||||
dockwidget-close-icon: url(dark:close.svg);
|
|
||||||
/**
|
|
||||||
* Only available in Qt6, and causes other issues. See #62.
|
|
||||||
* lineedit-clear-button-icon: url(dark:clear_text.svg);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set some styles for these custom dialog buttons */
|
/* Set some styles for these custom dialog buttons */
|
||||||
QDialogButtonBox QPushButton,
|
QDialogButtonBox QPushButton,
|
||||||
QMessageBox QPushButton
|
QMessageBox QPushButton
|
||||||
|
|
|
@ -60,6 +60,78 @@ QWidget
|
||||||
selection-color: #31363b;
|
selection-color: #31363b;
|
||||||
background-clip: border;
|
background-clip: border;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
|
|
||||||
|
/* QDialogButtonBox icons */
|
||||||
|
dialog-cancel-icon: url(light:dialog_cancel.svg);
|
||||||
|
dialog-close-icon: url(light:dialog_close.svg);
|
||||||
|
dialog-ok-icon: url(light:dialog_ok.svg);
|
||||||
|
dialog-open-icon: url(light:dialog_open.svg);
|
||||||
|
dialog-reset-icon: url(light:dialog_reset.svg);
|
||||||
|
dialog-save-icon: url(light:dialog_save.svg);
|
||||||
|
dialog-yes-icon: url(light:dialog_ok.svg);
|
||||||
|
dialog-help-icon: url(light:dialog_help.svg);
|
||||||
|
dialog-no-icon: url(light:dialog_no.svg);
|
||||||
|
dialog-apply-icon: url(light:dialog_ok.svg);
|
||||||
|
dialog-discard-icon: url(light:dialog_discard.svg);
|
||||||
|
|
||||||
|
/* File icons */
|
||||||
|
filedialog-backward-icon: url(light:left_arrow.svg);
|
||||||
|
filedialog-contentsview-icon: url(light:file_dialog_contents.svg);
|
||||||
|
filedialog-detailedview-icon: url(light:file_dialog_detailed.svg);
|
||||||
|
filedialog-end-icon: url(light:file_dialog_end.svg);
|
||||||
|
filedialog-infoview-icon: url(light:file_dialog_info.svg);
|
||||||
|
filedialog-listview-icon: url(light:file_dialog_list.svg);
|
||||||
|
filedialog-new-directory-icon: url(light:folder.svg);
|
||||||
|
filedialog-parent-directory-icon: url(light:up_arrow.svg);
|
||||||
|
filedialog-start-icon: url(light:file_dialog_start.svg);
|
||||||
|
directory-closed-icon: url(light:folder.svg);
|
||||||
|
directory-icon: url(light:folder.svg);
|
||||||
|
directory-link-icon: url(light:folder_link.svg);
|
||||||
|
directory-open-icon: url(light:folder_open.svg);
|
||||||
|
file-icon: url(light:file.svg);
|
||||||
|
file-link-icon: url(light:file_link.svg);
|
||||||
|
home-icon: url(light:home_directory.svg);
|
||||||
|
|
||||||
|
/* QMessageBox icons */
|
||||||
|
messagebox-critical-icon: url(light:message_critical.svg);
|
||||||
|
messagebox-information-icon: url(light:message_information.svg);
|
||||||
|
messagebox-question-icon: url(light:message_question.svg);
|
||||||
|
messagebox-warning-icon: url(light:message_warning.svg);
|
||||||
|
|
||||||
|
/* Computer icons */
|
||||||
|
computer-icon: url(light:computer.svg);
|
||||||
|
desktop-icon: url(light:desktop.svg);
|
||||||
|
cd-icon: url(light:disc_drive.svg);
|
||||||
|
dvd-icon: url(light:disc_drive.svg);
|
||||||
|
floppy-icon: url(light:floppy_drive.svg);
|
||||||
|
harddisk-icon: url(light:hard_drive.svg);
|
||||||
|
network-icon: url(light:network_drive.svg);
|
||||||
|
trash-icon: url(light:trash.svg);
|
||||||
|
|
||||||
|
/* Arrow icons */
|
||||||
|
uparrow-icon: url(light:up_arrow.svg);
|
||||||
|
downarrow-icon: url(light:down_arrow.svg);
|
||||||
|
leftarrow-icon: url(light:left_arrow.svg);
|
||||||
|
rightarrow-icon: url(light:right_arrow.svg);
|
||||||
|
backward-icon: url(light:left_arrow.svg);
|
||||||
|
forward-icon: url(light:right_arrow.svg);
|
||||||
|
|
||||||
|
/* Titlebar icons */
|
||||||
|
titlebar-close-icon: url(light:window_close.svg);
|
||||||
|
titlebar-contexthelp-icon: url(light:help.svg);
|
||||||
|
titlebar-maximize-icon: url(light:maximize.svg);
|
||||||
|
titlebar-menu-icon: url(light:menu.svg);
|
||||||
|
titlebar-minimize-icon: url(light:minimize.svg);
|
||||||
|
titlebar-normal-icon: url(light:restore.svg);
|
||||||
|
titlebar-shade-icon: url(light:shade.svg);
|
||||||
|
titlebar-unshade-icon: url(light:unshade.svg);
|
||||||
|
|
||||||
|
/* Other icons */
|
||||||
|
dockwidget-close-icon: url(light:close.svg);
|
||||||
|
/**
|
||||||
|
* Only available in Qt6, and causes other issues. See #62.
|
||||||
|
* lineedit-clear-button-icon: url(light:clear_text.svg);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:disabled
|
QWidget:disabled
|
||||||
|
@ -1605,9 +1677,9 @@ QDockWidget
|
||||||
* around the rest of the dock widget, which the remaining border
|
* around the rest of the dock widget, which the remaining border
|
||||||
* cannot be removed.
|
* cannot be removed.
|
||||||
*
|
*
|
||||||
* There is a bug in Qt6, where the icons are small. It doesn't
|
* There is a bug in non-Breeze styles, where the icons are small. It
|
||||||
* change if we use `image` instead of `border-image`, nor if we
|
* doesn't change if we use `image` instead of `border-image`, nor if
|
||||||
* use `qproperty-icon`, etc. The icon seem to be half the size
|
* we use `qproperty-icon`, etc. The icon seem to be half the size
|
||||||
* of our desired values.
|
* of our desired values.
|
||||||
*/
|
*/
|
||||||
QDockWidget::close-button,
|
QDockWidget::close-button,
|
||||||
|
@ -2354,81 +2426,6 @@ QDialogButtonBox
|
||||||
dialog-discard-icon: url(light:dialog_discard.svg);
|
dialog-discard-icon: url(light:dialog_discard.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget
|
|
||||||
{
|
|
||||||
/* QDialogButtonBox icons */
|
|
||||||
dialog-cancel-icon: url(light:dialog_cancel.svg);
|
|
||||||
dialog-close-icon: url(light:dialog_close.svg);
|
|
||||||
dialog-ok-icon: url(light:dialog_ok.svg);
|
|
||||||
dialog-open-icon: url(light:dialog_open.svg);
|
|
||||||
dialog-reset-icon: url(light:dialog_reset.svg);
|
|
||||||
dialog-save-icon: url(light:dialog_save.svg);
|
|
||||||
dialog-yes-icon: url(light:dialog_ok.svg);
|
|
||||||
dialog-help-icon: url(light:dialog_help.svg);
|
|
||||||
dialog-no-icon: url(light:dialog_no.svg);
|
|
||||||
dialog-apply-icon: url(light:dialog_ok.svg);
|
|
||||||
dialog-discard-icon: url(light:dialog_discard.svg);
|
|
||||||
|
|
||||||
/* File icons */
|
|
||||||
filedialog-backward-icon: url(light:left_arrow.svg);
|
|
||||||
filedialog-contentsview-icon: url(light:file_dialog_contents.svg);
|
|
||||||
filedialog-detailedview-icon: url(light:file_dialog_detailed.svg);
|
|
||||||
filedialog-end-icon: url(light:file_dialog_end.svg);
|
|
||||||
filedialog-infoview-icon: url(light:file_dialog_info.svg);
|
|
||||||
filedialog-listview-icon: url(light:file_dialog_list.svg);
|
|
||||||
filedialog-new-directory-icon: url(light:folder.svg);
|
|
||||||
filedialog-parent-directory-icon: url(light:up_arrow.svg);
|
|
||||||
filedialog-start-icon: url(light:file_dialog_start.svg);
|
|
||||||
directory-closed-icon: url(light:folder.svg);
|
|
||||||
directory-icon: url(light:folder.svg);
|
|
||||||
directory-link-icon: url(light:folder_link.svg);
|
|
||||||
directory-open-icon: url(light:folder_open.svg);
|
|
||||||
file-icon: url(light:file.svg);
|
|
||||||
file-link-icon: url(light:file_link.svg);
|
|
||||||
home-icon: url(light:home_directory.svg);
|
|
||||||
|
|
||||||
/* QMessageBox icons */
|
|
||||||
messagebox-critical-icon: url(light:message_critical.svg);
|
|
||||||
messagebox-information-icon: url(light:message_information.svg);
|
|
||||||
messagebox-question-icon: url(light:message_question.svg);
|
|
||||||
messagebox-warning-icon: url(light:message_warning.svg);
|
|
||||||
|
|
||||||
/* Computer icons */
|
|
||||||
computer-icon: url(light:computer.svg);
|
|
||||||
desktop-icon: url(light:desktop.svg);
|
|
||||||
cd-icon: url(light:disc_drive.svg);
|
|
||||||
dvd-icon: url(light:disc_drive.svg);
|
|
||||||
floppy-icon: url(light:floppy_drive.svg);
|
|
||||||
harddisk-icon: url(light:hard_drive.svg);
|
|
||||||
network-icon: url(light:network_drive.svg);
|
|
||||||
trash-icon: url(light:trash.svg);
|
|
||||||
|
|
||||||
/* Arrow icons */
|
|
||||||
uparrow-icon: url(light:up_arrow.svg);
|
|
||||||
downarrow-icon: url(light:down_arrow.svg);
|
|
||||||
leftarrow-icon: url(light:left_arrow.svg);
|
|
||||||
rightarrow-icon: url(light:right_arrow.svg);
|
|
||||||
backward-icon: url(light:left_arrow.svg);
|
|
||||||
forward-icon: url(light:right_arrow.svg);
|
|
||||||
|
|
||||||
/* Titlebar icons */
|
|
||||||
titlebar-close-icon: url(light:window_close.svg);
|
|
||||||
titlebar-contexthelp-icon: url(light:help.svg);
|
|
||||||
titlebar-maximize-icon: url(light:maximize.svg);
|
|
||||||
titlebar-menu-icon: url(light:menu.svg);
|
|
||||||
titlebar-minimize-icon: url(light:minimize.svg);
|
|
||||||
titlebar-normal-icon: url(light:restore.svg);
|
|
||||||
titlebar-shade-icon: url(light:shade.svg);
|
|
||||||
titlebar-unshade-icon: url(light:unshade.svg);
|
|
||||||
|
|
||||||
/* Other icons */
|
|
||||||
dockwidget-close-icon: url(light:close.svg);
|
|
||||||
/**
|
|
||||||
* Only available in Qt6, and causes other issues. See #62.
|
|
||||||
* lineedit-clear-button-icon: url(light:clear_text.svg);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set some styles for these custom dialog buttons */
|
/* Set some styles for these custom dialog buttons */
|
||||||
QDialogButtonBox QPushButton,
|
QDialogButtonBox QPushButton,
|
||||||
QMessageBox QPushButton
|
QMessageBox QPushButton
|
||||||
|
|
|
@ -60,6 +60,78 @@ QWidget
|
||||||
selection-color: #eff0f1;
|
selection-color: #eff0f1;
|
||||||
background-clip: border;
|
background-clip: border;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
|
|
||||||
|
/* QDialogButtonBox icons */
|
||||||
|
dialog-cancel-icon: url(:/dark/dialog_cancel.svg);
|
||||||
|
dialog-close-icon: url(:/dark/dialog_close.svg);
|
||||||
|
dialog-ok-icon: url(:/dark/dialog_ok.svg);
|
||||||
|
dialog-open-icon: url(:/dark/dialog_open.svg);
|
||||||
|
dialog-reset-icon: url(:/dark/dialog_reset.svg);
|
||||||
|
dialog-save-icon: url(:/dark/dialog_save.svg);
|
||||||
|
dialog-yes-icon: url(:/dark/dialog_ok.svg);
|
||||||
|
dialog-help-icon: url(:/dark/dialog_help.svg);
|
||||||
|
dialog-no-icon: url(:/dark/dialog_no.svg);
|
||||||
|
dialog-apply-icon: url(:/dark/dialog_ok.svg);
|
||||||
|
dialog-discard-icon: url(:/dark/dialog_discard.svg);
|
||||||
|
|
||||||
|
/* File icons */
|
||||||
|
filedialog-backward-icon: url(:/dark/left_arrow.svg);
|
||||||
|
filedialog-contentsview-icon: url(:/dark/file_dialog_contents.svg);
|
||||||
|
filedialog-detailedview-icon: url(:/dark/file_dialog_detailed.svg);
|
||||||
|
filedialog-end-icon: url(:/dark/file_dialog_end.svg);
|
||||||
|
filedialog-infoview-icon: url(:/dark/file_dialog_info.svg);
|
||||||
|
filedialog-listview-icon: url(:/dark/file_dialog_list.svg);
|
||||||
|
filedialog-new-directory-icon: url(:/dark/folder.svg);
|
||||||
|
filedialog-parent-directory-icon: url(:/dark/up_arrow.svg);
|
||||||
|
filedialog-start-icon: url(:/dark/file_dialog_start.svg);
|
||||||
|
directory-closed-icon: url(:/dark/folder.svg);
|
||||||
|
directory-icon: url(:/dark/folder.svg);
|
||||||
|
directory-link-icon: url(:/dark/folder_link.svg);
|
||||||
|
directory-open-icon: url(:/dark/folder_open.svg);
|
||||||
|
file-icon: url(:/dark/file.svg);
|
||||||
|
file-link-icon: url(:/dark/file_link.svg);
|
||||||
|
home-icon: url(:/dark/home_directory.svg);
|
||||||
|
|
||||||
|
/* QMessageBox icons */
|
||||||
|
messagebox-critical-icon: url(:/dark/message_critical.svg);
|
||||||
|
messagebox-information-icon: url(:/dark/message_information.svg);
|
||||||
|
messagebox-question-icon: url(:/dark/message_question.svg);
|
||||||
|
messagebox-warning-icon: url(:/dark/message_warning.svg);
|
||||||
|
|
||||||
|
/* Computer icons */
|
||||||
|
computer-icon: url(:/dark/computer.svg);
|
||||||
|
desktop-icon: url(:/dark/desktop.svg);
|
||||||
|
cd-icon: url(:/dark/disc_drive.svg);
|
||||||
|
dvd-icon: url(:/dark/disc_drive.svg);
|
||||||
|
floppy-icon: url(:/dark/floppy_drive.svg);
|
||||||
|
harddisk-icon: url(:/dark/hard_drive.svg);
|
||||||
|
network-icon: url(:/dark/network_drive.svg);
|
||||||
|
trash-icon: url(:/dark/trash.svg);
|
||||||
|
|
||||||
|
/* Arrow icons */
|
||||||
|
uparrow-icon: url(:/dark/up_arrow.svg);
|
||||||
|
downarrow-icon: url(:/dark/down_arrow.svg);
|
||||||
|
leftarrow-icon: url(:/dark/left_arrow.svg);
|
||||||
|
rightarrow-icon: url(:/dark/right_arrow.svg);
|
||||||
|
backward-icon: url(:/dark/left_arrow.svg);
|
||||||
|
forward-icon: url(:/dark/right_arrow.svg);
|
||||||
|
|
||||||
|
/* Titlebar icons */
|
||||||
|
titlebar-close-icon: url(:/dark/window_close.svg);
|
||||||
|
titlebar-contexthelp-icon: url(:/dark/help.svg);
|
||||||
|
titlebar-maximize-icon: url(:/dark/maximize.svg);
|
||||||
|
titlebar-menu-icon: url(:/dark/menu.svg);
|
||||||
|
titlebar-minimize-icon: url(:/dark/minimize.svg);
|
||||||
|
titlebar-normal-icon: url(:/dark/restore.svg);
|
||||||
|
titlebar-shade-icon: url(:/dark/shade.svg);
|
||||||
|
titlebar-unshade-icon: url(:/dark/unshade.svg);
|
||||||
|
|
||||||
|
/* Other icons */
|
||||||
|
dockwidget-close-icon: url(:/dark/close.svg);
|
||||||
|
/**
|
||||||
|
* Only available in Qt6, and causes other issues. See #62.
|
||||||
|
* lineedit-clear-button-icon: url(:/dark/clear_text.svg);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:disabled
|
QWidget:disabled
|
||||||
|
@ -1605,9 +1677,9 @@ QDockWidget
|
||||||
* around the rest of the dock widget, which the remaining border
|
* around the rest of the dock widget, which the remaining border
|
||||||
* cannot be removed.
|
* cannot be removed.
|
||||||
*
|
*
|
||||||
* There is a bug in Qt6, where the icons are small. It doesn't
|
* There is a bug in non-Breeze styles, where the icons are small. It
|
||||||
* change if we use `image` instead of `border-image`, nor if we
|
* doesn't change if we use `image` instead of `border-image`, nor if
|
||||||
* use `qproperty-icon`, etc. The icon seem to be half the size
|
* we use `qproperty-icon`, etc. The icon seem to be half the size
|
||||||
* of our desired values.
|
* of our desired values.
|
||||||
*/
|
*/
|
||||||
QDockWidget::close-button,
|
QDockWidget::close-button,
|
||||||
|
@ -2354,81 +2426,6 @@ QDialogButtonBox
|
||||||
dialog-discard-icon: url(:/dark/dialog_discard.svg);
|
dialog-discard-icon: url(:/dark/dialog_discard.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget
|
|
||||||
{
|
|
||||||
/* QDialogButtonBox icons */
|
|
||||||
dialog-cancel-icon: url(:/dark/dialog_cancel.svg);
|
|
||||||
dialog-close-icon: url(:/dark/dialog_close.svg);
|
|
||||||
dialog-ok-icon: url(:/dark/dialog_ok.svg);
|
|
||||||
dialog-open-icon: url(:/dark/dialog_open.svg);
|
|
||||||
dialog-reset-icon: url(:/dark/dialog_reset.svg);
|
|
||||||
dialog-save-icon: url(:/dark/dialog_save.svg);
|
|
||||||
dialog-yes-icon: url(:/dark/dialog_ok.svg);
|
|
||||||
dialog-help-icon: url(:/dark/dialog_help.svg);
|
|
||||||
dialog-no-icon: url(:/dark/dialog_no.svg);
|
|
||||||
dialog-apply-icon: url(:/dark/dialog_ok.svg);
|
|
||||||
dialog-discard-icon: url(:/dark/dialog_discard.svg);
|
|
||||||
|
|
||||||
/* File icons */
|
|
||||||
filedialog-backward-icon: url(:/dark/left_arrow.svg);
|
|
||||||
filedialog-contentsview-icon: url(:/dark/file_dialog_contents.svg);
|
|
||||||
filedialog-detailedview-icon: url(:/dark/file_dialog_detailed.svg);
|
|
||||||
filedialog-end-icon: url(:/dark/file_dialog_end.svg);
|
|
||||||
filedialog-infoview-icon: url(:/dark/file_dialog_info.svg);
|
|
||||||
filedialog-listview-icon: url(:/dark/file_dialog_list.svg);
|
|
||||||
filedialog-new-directory-icon: url(:/dark/folder.svg);
|
|
||||||
filedialog-parent-directory-icon: url(:/dark/up_arrow.svg);
|
|
||||||
filedialog-start-icon: url(:/dark/file_dialog_start.svg);
|
|
||||||
directory-closed-icon: url(:/dark/folder.svg);
|
|
||||||
directory-icon: url(:/dark/folder.svg);
|
|
||||||
directory-link-icon: url(:/dark/folder_link.svg);
|
|
||||||
directory-open-icon: url(:/dark/folder_open.svg);
|
|
||||||
file-icon: url(:/dark/file.svg);
|
|
||||||
file-link-icon: url(:/dark/file_link.svg);
|
|
||||||
home-icon: url(:/dark/home_directory.svg);
|
|
||||||
|
|
||||||
/* QMessageBox icons */
|
|
||||||
messagebox-critical-icon: url(:/dark/message_critical.svg);
|
|
||||||
messagebox-information-icon: url(:/dark/message_information.svg);
|
|
||||||
messagebox-question-icon: url(:/dark/message_question.svg);
|
|
||||||
messagebox-warning-icon: url(:/dark/message_warning.svg);
|
|
||||||
|
|
||||||
/* Computer icons */
|
|
||||||
computer-icon: url(:/dark/computer.svg);
|
|
||||||
desktop-icon: url(:/dark/desktop.svg);
|
|
||||||
cd-icon: url(:/dark/disc_drive.svg);
|
|
||||||
dvd-icon: url(:/dark/disc_drive.svg);
|
|
||||||
floppy-icon: url(:/dark/floppy_drive.svg);
|
|
||||||
harddisk-icon: url(:/dark/hard_drive.svg);
|
|
||||||
network-icon: url(:/dark/network_drive.svg);
|
|
||||||
trash-icon: url(:/dark/trash.svg);
|
|
||||||
|
|
||||||
/* Arrow icons */
|
|
||||||
uparrow-icon: url(:/dark/up_arrow.svg);
|
|
||||||
downarrow-icon: url(:/dark/down_arrow.svg);
|
|
||||||
leftarrow-icon: url(:/dark/left_arrow.svg);
|
|
||||||
rightarrow-icon: url(:/dark/right_arrow.svg);
|
|
||||||
backward-icon: url(:/dark/left_arrow.svg);
|
|
||||||
forward-icon: url(:/dark/right_arrow.svg);
|
|
||||||
|
|
||||||
/* Titlebar icons */
|
|
||||||
titlebar-close-icon: url(:/dark/window_close.svg);
|
|
||||||
titlebar-contexthelp-icon: url(:/dark/help.svg);
|
|
||||||
titlebar-maximize-icon: url(:/dark/maximize.svg);
|
|
||||||
titlebar-menu-icon: url(:/dark/menu.svg);
|
|
||||||
titlebar-minimize-icon: url(:/dark/minimize.svg);
|
|
||||||
titlebar-normal-icon: url(:/dark/restore.svg);
|
|
||||||
titlebar-shade-icon: url(:/dark/shade.svg);
|
|
||||||
titlebar-unshade-icon: url(:/dark/unshade.svg);
|
|
||||||
|
|
||||||
/* Other icons */
|
|
||||||
dockwidget-close-icon: url(:/dark/close.svg);
|
|
||||||
/**
|
|
||||||
* Only available in Qt6, and causes other issues. See #62.
|
|
||||||
* lineedit-clear-button-icon: url(:/dark/clear_text.svg);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set some styles for these custom dialog buttons */
|
/* Set some styles for these custom dialog buttons */
|
||||||
QDialogButtonBox QPushButton,
|
QDialogButtonBox QPushButton,
|
||||||
QMessageBox QPushButton
|
QMessageBox QPushButton
|
||||||
|
|
|
@ -60,6 +60,78 @@ QWidget
|
||||||
selection-color: #31363b;
|
selection-color: #31363b;
|
||||||
background-clip: border;
|
background-clip: border;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
|
|
||||||
|
/* QDialogButtonBox icons */
|
||||||
|
dialog-cancel-icon: url(:/light/dialog_cancel.svg);
|
||||||
|
dialog-close-icon: url(:/light/dialog_close.svg);
|
||||||
|
dialog-ok-icon: url(:/light/dialog_ok.svg);
|
||||||
|
dialog-open-icon: url(:/light/dialog_open.svg);
|
||||||
|
dialog-reset-icon: url(:/light/dialog_reset.svg);
|
||||||
|
dialog-save-icon: url(:/light/dialog_save.svg);
|
||||||
|
dialog-yes-icon: url(:/light/dialog_ok.svg);
|
||||||
|
dialog-help-icon: url(:/light/dialog_help.svg);
|
||||||
|
dialog-no-icon: url(:/light/dialog_no.svg);
|
||||||
|
dialog-apply-icon: url(:/light/dialog_ok.svg);
|
||||||
|
dialog-discard-icon: url(:/light/dialog_discard.svg);
|
||||||
|
|
||||||
|
/* File icons */
|
||||||
|
filedialog-backward-icon: url(:/light/left_arrow.svg);
|
||||||
|
filedialog-contentsview-icon: url(:/light/file_dialog_contents.svg);
|
||||||
|
filedialog-detailedview-icon: url(:/light/file_dialog_detailed.svg);
|
||||||
|
filedialog-end-icon: url(:/light/file_dialog_end.svg);
|
||||||
|
filedialog-infoview-icon: url(:/light/file_dialog_info.svg);
|
||||||
|
filedialog-listview-icon: url(:/light/file_dialog_list.svg);
|
||||||
|
filedialog-new-directory-icon: url(:/light/folder.svg);
|
||||||
|
filedialog-parent-directory-icon: url(:/light/up_arrow.svg);
|
||||||
|
filedialog-start-icon: url(:/light/file_dialog_start.svg);
|
||||||
|
directory-closed-icon: url(:/light/folder.svg);
|
||||||
|
directory-icon: url(:/light/folder.svg);
|
||||||
|
directory-link-icon: url(:/light/folder_link.svg);
|
||||||
|
directory-open-icon: url(:/light/folder_open.svg);
|
||||||
|
file-icon: url(:/light/file.svg);
|
||||||
|
file-link-icon: url(:/light/file_link.svg);
|
||||||
|
home-icon: url(:/light/home_directory.svg);
|
||||||
|
|
||||||
|
/* QMessageBox icons */
|
||||||
|
messagebox-critical-icon: url(:/light/message_critical.svg);
|
||||||
|
messagebox-information-icon: url(:/light/message_information.svg);
|
||||||
|
messagebox-question-icon: url(:/light/message_question.svg);
|
||||||
|
messagebox-warning-icon: url(:/light/message_warning.svg);
|
||||||
|
|
||||||
|
/* Computer icons */
|
||||||
|
computer-icon: url(:/light/computer.svg);
|
||||||
|
desktop-icon: url(:/light/desktop.svg);
|
||||||
|
cd-icon: url(:/light/disc_drive.svg);
|
||||||
|
dvd-icon: url(:/light/disc_drive.svg);
|
||||||
|
floppy-icon: url(:/light/floppy_drive.svg);
|
||||||
|
harddisk-icon: url(:/light/hard_drive.svg);
|
||||||
|
network-icon: url(:/light/network_drive.svg);
|
||||||
|
trash-icon: url(:/light/trash.svg);
|
||||||
|
|
||||||
|
/* Arrow icons */
|
||||||
|
uparrow-icon: url(:/light/up_arrow.svg);
|
||||||
|
downarrow-icon: url(:/light/down_arrow.svg);
|
||||||
|
leftarrow-icon: url(:/light/left_arrow.svg);
|
||||||
|
rightarrow-icon: url(:/light/right_arrow.svg);
|
||||||
|
backward-icon: url(:/light/left_arrow.svg);
|
||||||
|
forward-icon: url(:/light/right_arrow.svg);
|
||||||
|
|
||||||
|
/* Titlebar icons */
|
||||||
|
titlebar-close-icon: url(:/light/window_close.svg);
|
||||||
|
titlebar-contexthelp-icon: url(:/light/help.svg);
|
||||||
|
titlebar-maximize-icon: url(:/light/maximize.svg);
|
||||||
|
titlebar-menu-icon: url(:/light/menu.svg);
|
||||||
|
titlebar-minimize-icon: url(:/light/minimize.svg);
|
||||||
|
titlebar-normal-icon: url(:/light/restore.svg);
|
||||||
|
titlebar-shade-icon: url(:/light/shade.svg);
|
||||||
|
titlebar-unshade-icon: url(:/light/unshade.svg);
|
||||||
|
|
||||||
|
/* Other icons */
|
||||||
|
dockwidget-close-icon: url(:/light/close.svg);
|
||||||
|
/**
|
||||||
|
* Only available in Qt6, and causes other issues. See #62.
|
||||||
|
* lineedit-clear-button-icon: url(:/light/clear_text.svg);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:disabled
|
QWidget:disabled
|
||||||
|
@ -1605,9 +1677,9 @@ QDockWidget
|
||||||
* around the rest of the dock widget, which the remaining border
|
* around the rest of the dock widget, which the remaining border
|
||||||
* cannot be removed.
|
* cannot be removed.
|
||||||
*
|
*
|
||||||
* There is a bug in Qt6, where the icons are small. It doesn't
|
* There is a bug in non-Breeze styles, where the icons are small. It
|
||||||
* change if we use `image` instead of `border-image`, nor if we
|
* doesn't change if we use `image` instead of `border-image`, nor if
|
||||||
* use `qproperty-icon`, etc. The icon seem to be half the size
|
* we use `qproperty-icon`, etc. The icon seem to be half the size
|
||||||
* of our desired values.
|
* of our desired values.
|
||||||
*/
|
*/
|
||||||
QDockWidget::close-button,
|
QDockWidget::close-button,
|
||||||
|
@ -2354,81 +2426,6 @@ QDialogButtonBox
|
||||||
dialog-discard-icon: url(:/light/dialog_discard.svg);
|
dialog-discard-icon: url(:/light/dialog_discard.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget
|
|
||||||
{
|
|
||||||
/* QDialogButtonBox icons */
|
|
||||||
dialog-cancel-icon: url(:/light/dialog_cancel.svg);
|
|
||||||
dialog-close-icon: url(:/light/dialog_close.svg);
|
|
||||||
dialog-ok-icon: url(:/light/dialog_ok.svg);
|
|
||||||
dialog-open-icon: url(:/light/dialog_open.svg);
|
|
||||||
dialog-reset-icon: url(:/light/dialog_reset.svg);
|
|
||||||
dialog-save-icon: url(:/light/dialog_save.svg);
|
|
||||||
dialog-yes-icon: url(:/light/dialog_ok.svg);
|
|
||||||
dialog-help-icon: url(:/light/dialog_help.svg);
|
|
||||||
dialog-no-icon: url(:/light/dialog_no.svg);
|
|
||||||
dialog-apply-icon: url(:/light/dialog_ok.svg);
|
|
||||||
dialog-discard-icon: url(:/light/dialog_discard.svg);
|
|
||||||
|
|
||||||
/* File icons */
|
|
||||||
filedialog-backward-icon: url(:/light/left_arrow.svg);
|
|
||||||
filedialog-contentsview-icon: url(:/light/file_dialog_contents.svg);
|
|
||||||
filedialog-detailedview-icon: url(:/light/file_dialog_detailed.svg);
|
|
||||||
filedialog-end-icon: url(:/light/file_dialog_end.svg);
|
|
||||||
filedialog-infoview-icon: url(:/light/file_dialog_info.svg);
|
|
||||||
filedialog-listview-icon: url(:/light/file_dialog_list.svg);
|
|
||||||
filedialog-new-directory-icon: url(:/light/folder.svg);
|
|
||||||
filedialog-parent-directory-icon: url(:/light/up_arrow.svg);
|
|
||||||
filedialog-start-icon: url(:/light/file_dialog_start.svg);
|
|
||||||
directory-closed-icon: url(:/light/folder.svg);
|
|
||||||
directory-icon: url(:/light/folder.svg);
|
|
||||||
directory-link-icon: url(:/light/folder_link.svg);
|
|
||||||
directory-open-icon: url(:/light/folder_open.svg);
|
|
||||||
file-icon: url(:/light/file.svg);
|
|
||||||
file-link-icon: url(:/light/file_link.svg);
|
|
||||||
home-icon: url(:/light/home_directory.svg);
|
|
||||||
|
|
||||||
/* QMessageBox icons */
|
|
||||||
messagebox-critical-icon: url(:/light/message_critical.svg);
|
|
||||||
messagebox-information-icon: url(:/light/message_information.svg);
|
|
||||||
messagebox-question-icon: url(:/light/message_question.svg);
|
|
||||||
messagebox-warning-icon: url(:/light/message_warning.svg);
|
|
||||||
|
|
||||||
/* Computer icons */
|
|
||||||
computer-icon: url(:/light/computer.svg);
|
|
||||||
desktop-icon: url(:/light/desktop.svg);
|
|
||||||
cd-icon: url(:/light/disc_drive.svg);
|
|
||||||
dvd-icon: url(:/light/disc_drive.svg);
|
|
||||||
floppy-icon: url(:/light/floppy_drive.svg);
|
|
||||||
harddisk-icon: url(:/light/hard_drive.svg);
|
|
||||||
network-icon: url(:/light/network_drive.svg);
|
|
||||||
trash-icon: url(:/light/trash.svg);
|
|
||||||
|
|
||||||
/* Arrow icons */
|
|
||||||
uparrow-icon: url(:/light/up_arrow.svg);
|
|
||||||
downarrow-icon: url(:/light/down_arrow.svg);
|
|
||||||
leftarrow-icon: url(:/light/left_arrow.svg);
|
|
||||||
rightarrow-icon: url(:/light/right_arrow.svg);
|
|
||||||
backward-icon: url(:/light/left_arrow.svg);
|
|
||||||
forward-icon: url(:/light/right_arrow.svg);
|
|
||||||
|
|
||||||
/* Titlebar icons */
|
|
||||||
titlebar-close-icon: url(:/light/window_close.svg);
|
|
||||||
titlebar-contexthelp-icon: url(:/light/help.svg);
|
|
||||||
titlebar-maximize-icon: url(:/light/maximize.svg);
|
|
||||||
titlebar-menu-icon: url(:/light/menu.svg);
|
|
||||||
titlebar-minimize-icon: url(:/light/minimize.svg);
|
|
||||||
titlebar-normal-icon: url(:/light/restore.svg);
|
|
||||||
titlebar-shade-icon: url(:/light/shade.svg);
|
|
||||||
titlebar-unshade-icon: url(:/light/unshade.svg);
|
|
||||||
|
|
||||||
/* Other icons */
|
|
||||||
dockwidget-close-icon: url(:/light/close.svg);
|
|
||||||
/**
|
|
||||||
* Only available in Qt6, and causes other issues. See #62.
|
|
||||||
* lineedit-clear-button-icon: url(:/light/clear_text.svg);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set some styles for these custom dialog buttons */
|
/* Set some styles for these custom dialog buttons */
|
||||||
QDialogButtonBox QPushButton,
|
QDialogButtonBox QPushButton,
|
||||||
QMessageBox QPushButton
|
QMessageBox QPushButton
|
||||||
|
|
|
@ -60,6 +60,78 @@ QWidget
|
||||||
selection-color: ^foreground^;
|
selection-color: ^foreground^;
|
||||||
background-clip: border;
|
background-clip: border;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
|
|
||||||
|
/* QDialogButtonBox icons */
|
||||||
|
dialog-cancel-icon: url(^style^dialog_cancel.svg);
|
||||||
|
dialog-close-icon: url(^style^dialog_close.svg);
|
||||||
|
dialog-ok-icon: url(^style^dialog_ok.svg);
|
||||||
|
dialog-open-icon: url(^style^dialog_open.svg);
|
||||||
|
dialog-reset-icon: url(^style^dialog_reset.svg);
|
||||||
|
dialog-save-icon: url(^style^dialog_save.svg);
|
||||||
|
dialog-yes-icon: url(^style^dialog_ok.svg);
|
||||||
|
dialog-help-icon: url(^style^dialog_help.svg);
|
||||||
|
dialog-no-icon: url(^style^dialog_no.svg);
|
||||||
|
dialog-apply-icon: url(^style^dialog_ok.svg);
|
||||||
|
dialog-discard-icon: url(^style^dialog_discard.svg);
|
||||||
|
|
||||||
|
/* File icons */
|
||||||
|
filedialog-backward-icon: url(^style^left_arrow.svg);
|
||||||
|
filedialog-contentsview-icon: url(^style^file_dialog_contents.svg);
|
||||||
|
filedialog-detailedview-icon: url(^style^file_dialog_detailed.svg);
|
||||||
|
filedialog-end-icon: url(^style^file_dialog_end.svg);
|
||||||
|
filedialog-infoview-icon: url(^style^file_dialog_info.svg);
|
||||||
|
filedialog-listview-icon: url(^style^file_dialog_list.svg);
|
||||||
|
filedialog-new-directory-icon: url(^style^folder.svg);
|
||||||
|
filedialog-parent-directory-icon: url(^style^up_arrow.svg);
|
||||||
|
filedialog-start-icon: url(^style^file_dialog_start.svg);
|
||||||
|
directory-closed-icon: url(^style^folder.svg);
|
||||||
|
directory-icon: url(^style^folder.svg);
|
||||||
|
directory-link-icon: url(^style^folder_link.svg);
|
||||||
|
directory-open-icon: url(^style^folder_open.svg);
|
||||||
|
file-icon: url(^style^file.svg);
|
||||||
|
file-link-icon: url(^style^file_link.svg);
|
||||||
|
home-icon: url(^style^home_directory.svg);
|
||||||
|
|
||||||
|
/* QMessageBox icons */
|
||||||
|
messagebox-critical-icon: url(^style^message_critical.svg);
|
||||||
|
messagebox-information-icon: url(^style^message_information.svg);
|
||||||
|
messagebox-question-icon: url(^style^message_question.svg);
|
||||||
|
messagebox-warning-icon: url(^style^message_warning.svg);
|
||||||
|
|
||||||
|
/* Computer icons */
|
||||||
|
computer-icon: url(^style^computer.svg);
|
||||||
|
desktop-icon: url(^style^desktop.svg);
|
||||||
|
cd-icon: url(^style^disc_drive.svg);
|
||||||
|
dvd-icon: url(^style^disc_drive.svg);
|
||||||
|
floppy-icon: url(^style^floppy_drive.svg);
|
||||||
|
harddisk-icon: url(^style^hard_drive.svg);
|
||||||
|
network-icon: url(^style^network_drive.svg);
|
||||||
|
trash-icon: url(^style^trash.svg);
|
||||||
|
|
||||||
|
/* Arrow icons */
|
||||||
|
uparrow-icon: url(^style^up_arrow.svg);
|
||||||
|
downarrow-icon: url(^style^down_arrow.svg);
|
||||||
|
leftarrow-icon: url(^style^left_arrow.svg);
|
||||||
|
rightarrow-icon: url(^style^right_arrow.svg);
|
||||||
|
backward-icon: url(^style^left_arrow.svg);
|
||||||
|
forward-icon: url(^style^right_arrow.svg);
|
||||||
|
|
||||||
|
/* Titlebar icons */
|
||||||
|
titlebar-close-icon: url(^style^window_close.svg);
|
||||||
|
titlebar-contexthelp-icon: url(^style^help.svg);
|
||||||
|
titlebar-maximize-icon: url(^style^maximize.svg);
|
||||||
|
titlebar-menu-icon: url(^style^menu.svg);
|
||||||
|
titlebar-minimize-icon: url(^style^minimize.svg);
|
||||||
|
titlebar-normal-icon: url(^style^restore.svg);
|
||||||
|
titlebar-shade-icon: url(^style^shade.svg);
|
||||||
|
titlebar-unshade-icon: url(^style^unshade.svg);
|
||||||
|
|
||||||
|
/* Other icons */
|
||||||
|
dockwidget-close-icon: url(^style^close.svg);
|
||||||
|
/**
|
||||||
|
* Only available in Qt6, and causes other issues. See #62.
|
||||||
|
* lineedit-clear-button-icon: url(^style^clear_text.svg);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget:disabled
|
QWidget:disabled
|
||||||
|
@ -1605,9 +1677,9 @@ QDockWidget
|
||||||
* around the rest of the dock widget, which the remaining border
|
* around the rest of the dock widget, which the remaining border
|
||||||
* cannot be removed.
|
* cannot be removed.
|
||||||
*
|
*
|
||||||
* There is a bug in Qt6, where the icons are small. It doesn't
|
* There is a bug in non-Breeze styles, where the icons are small. It
|
||||||
* change if we use `image` instead of `border-image`, nor if we
|
* doesn't change if we use `image` instead of `border-image`, nor if
|
||||||
* use `qproperty-icon`, etc. The icon seem to be half the size
|
* we use `qproperty-icon`, etc. The icon seem to be half the size
|
||||||
* of our desired values.
|
* of our desired values.
|
||||||
*/
|
*/
|
||||||
QDockWidget::close-button,
|
QDockWidget::close-button,
|
||||||
|
@ -2354,81 +2426,6 @@ QDialogButtonBox
|
||||||
dialog-discard-icon: url(^style^dialog_discard.svg);
|
dialog-discard-icon: url(^style^dialog_discard.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget
|
|
||||||
{
|
|
||||||
/* QDialogButtonBox icons */
|
|
||||||
dialog-cancel-icon: url(^style^dialog_cancel.svg);
|
|
||||||
dialog-close-icon: url(^style^dialog_close.svg);
|
|
||||||
dialog-ok-icon: url(^style^dialog_ok.svg);
|
|
||||||
dialog-open-icon: url(^style^dialog_open.svg);
|
|
||||||
dialog-reset-icon: url(^style^dialog_reset.svg);
|
|
||||||
dialog-save-icon: url(^style^dialog_save.svg);
|
|
||||||
dialog-yes-icon: url(^style^dialog_ok.svg);
|
|
||||||
dialog-help-icon: url(^style^dialog_help.svg);
|
|
||||||
dialog-no-icon: url(^style^dialog_no.svg);
|
|
||||||
dialog-apply-icon: url(^style^dialog_ok.svg);
|
|
||||||
dialog-discard-icon: url(^style^dialog_discard.svg);
|
|
||||||
|
|
||||||
/* File icons */
|
|
||||||
filedialog-backward-icon: url(^style^left_arrow.svg);
|
|
||||||
filedialog-contentsview-icon: url(^style^file_dialog_contents.svg);
|
|
||||||
filedialog-detailedview-icon: url(^style^file_dialog_detailed.svg);
|
|
||||||
filedialog-end-icon: url(^style^file_dialog_end.svg);
|
|
||||||
filedialog-infoview-icon: url(^style^file_dialog_info.svg);
|
|
||||||
filedialog-listview-icon: url(^style^file_dialog_list.svg);
|
|
||||||
filedialog-new-directory-icon: url(^style^folder.svg);
|
|
||||||
filedialog-parent-directory-icon: url(^style^up_arrow.svg);
|
|
||||||
filedialog-start-icon: url(^style^file_dialog_start.svg);
|
|
||||||
directory-closed-icon: url(^style^folder.svg);
|
|
||||||
directory-icon: url(^style^folder.svg);
|
|
||||||
directory-link-icon: url(^style^folder_link.svg);
|
|
||||||
directory-open-icon: url(^style^folder_open.svg);
|
|
||||||
file-icon: url(^style^file.svg);
|
|
||||||
file-link-icon: url(^style^file_link.svg);
|
|
||||||
home-icon: url(^style^home_directory.svg);
|
|
||||||
|
|
||||||
/* QMessageBox icons */
|
|
||||||
messagebox-critical-icon: url(^style^message_critical.svg);
|
|
||||||
messagebox-information-icon: url(^style^message_information.svg);
|
|
||||||
messagebox-question-icon: url(^style^message_question.svg);
|
|
||||||
messagebox-warning-icon: url(^style^message_warning.svg);
|
|
||||||
|
|
||||||
/* Computer icons */
|
|
||||||
computer-icon: url(^style^computer.svg);
|
|
||||||
desktop-icon: url(^style^desktop.svg);
|
|
||||||
cd-icon: url(^style^disc_drive.svg);
|
|
||||||
dvd-icon: url(^style^disc_drive.svg);
|
|
||||||
floppy-icon: url(^style^floppy_drive.svg);
|
|
||||||
harddisk-icon: url(^style^hard_drive.svg);
|
|
||||||
network-icon: url(^style^network_drive.svg);
|
|
||||||
trash-icon: url(^style^trash.svg);
|
|
||||||
|
|
||||||
/* Arrow icons */
|
|
||||||
uparrow-icon: url(^style^up_arrow.svg);
|
|
||||||
downarrow-icon: url(^style^down_arrow.svg);
|
|
||||||
leftarrow-icon: url(^style^left_arrow.svg);
|
|
||||||
rightarrow-icon: url(^style^right_arrow.svg);
|
|
||||||
backward-icon: url(^style^left_arrow.svg);
|
|
||||||
forward-icon: url(^style^right_arrow.svg);
|
|
||||||
|
|
||||||
/* Titlebar icons */
|
|
||||||
titlebar-close-icon: url(^style^window_close.svg);
|
|
||||||
titlebar-contexthelp-icon: url(^style^help.svg);
|
|
||||||
titlebar-maximize-icon: url(^style^maximize.svg);
|
|
||||||
titlebar-menu-icon: url(^style^menu.svg);
|
|
||||||
titlebar-minimize-icon: url(^style^minimize.svg);
|
|
||||||
titlebar-normal-icon: url(^style^restore.svg);
|
|
||||||
titlebar-shade-icon: url(^style^shade.svg);
|
|
||||||
titlebar-unshade-icon: url(^style^unshade.svg);
|
|
||||||
|
|
||||||
/* Other icons */
|
|
||||||
dockwidget-close-icon: url(^style^close.svg);
|
|
||||||
/**
|
|
||||||
* Only available in Qt6, and causes other issues. See #62.
|
|
||||||
* lineedit-clear-button-icon: url(^style^clear_text.svg);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set some styles for these custom dialog buttons */
|
/* Set some styles for these custom dialog buttons */
|
||||||
QDialogButtonBox QPushButton,
|
QDialogButtonBox QPushButton,
|
||||||
QMessageBox QPushButton
|
QMessageBox QPushButton
|
||||||
|
|
Loading…
Reference in New Issue