MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QFileSystemModel/CustomIcon.py:30–33  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

28 """图标提供类"""
29
30 def __init__(self, *args, **kwargs):
31 super(FileIconProvider, self).__init__(*args, **kwargs)
32 self.DirIcon = QIcon("Data/icons/folder.png")
33 self.TxtIcon = QIcon("Data/icons/file.png")
34
35 def icon(self, type_info):
36 '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected