From 2b479fae26b7446f9269223d1e1fb4073839f5cc Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 10 May 2020 14:43:24 +0200 Subject: Improve difficulty and priority reading --- src/gui/icon.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/gui/icon.py (limited to 'src/gui/icon.py') 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) -- cgit v1.2.3