21 |
21 |
22 def __init__(self): |
22 def __init__(self): |
23 """ |
23 """ |
24 Constructor |
24 Constructor |
25 """ |
25 """ |
26 |
|
27 # pixmap icon names first because some are overwritten later |
26 # pixmap icon names first because some are overwritten later |
28 self.__iconMappings = { |
27 self.__iconMappings = { |
29 "*.{0}".format(bytes(f).decode()): "filePixmap" |
28 "*.{0}".format(bytes(f).decode()): "filePixmap" |
30 for f in QImageReader.supportedImageFormats() |
29 for f in QImageReader.supportedImageFormats() |
31 } |
30 } |