diff options
author | Joris | 2020-05-10 14:43:24 +0200 |
---|---|---|
committer | Joris | 2020-05-10 14:43:24 +0200 |
commit | 2b479fae26b7446f9269223d1e1fb4073839f5cc (patch) | |
tree | 8a15017b80e94e778857fe856160c36865568a1d /src/gui/icon.py | |
parent | 7372ab407535ade48ce0b642ae051990e3bef7ed (diff) |
Improve difficulty and priority reading
Diffstat (limited to 'src/gui/icon.py')
-rw-r--r-- | src/gui/icon.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/icon.py b/src/gui/icon.py new file mode 100644 index 0000000..2f8830e --- /dev/null +++ b/src/gui/icon.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) |