aboutsummaryrefslogtreecommitdiff
path: root/src/gui/icon.py
blob: 2f8830ec36638c08036a7cf21c5dc2f099cff683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)