def __init__(self, parent):
QtGui.QStandardItemModel.__init__(self, parent)
self.style = ":/white_icons"
if str(QtCore.QSettings().value("color_schem", "")).find("dark") >= 0:
self.style = ":/dark_icons"
self._filterItemByFilterType = dict()
self._filterIconByFilterType = dict()
self._treeItemByFilterType = dict()
self._addDefaultTreeItems()
self._initFilterTypeMappings()
评论列表
文章目录