diff options
Diffstat (limited to 'src/gui/icons.py')
-rw-r--r-- | src/gui/icons.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/icons.py b/src/gui/icons.py new file mode 100644 index 0000000..2f8830e --- /dev/null +++ b/src/gui/icons.py @@ -0,0 +1,16 @@ +from PyQt5 import QtWidgets + +def new_folder(style): + return style.standardIcon(QtWidgets.QStyle.SP_FileDialogNewFolder) + +def dialog_open(style): + return style.standardIcon(QtWidgets.QStyle.SP_DialogOpenButton) + +def dialog_apply(style): + return style.standardIcon(QtWidgets.QStyle.SP_DialogApplyButton) + +def dialog_cancel(style): + return style.standardIcon(QtWidgets.QStyle.SP_DialogCancelButton) + +def trash(style): + return style.standardIcon(QtWidgets.QStyle.SP_TrashIcon) |