(self)
| 93 | self._initItems() |
| 94 | |
| 95 | def restoreSort(self): |
| 96 | # 恢复默认排序 |
| 97 | self.fmodel.setSortRole(IdRole) # 必须设置排序角色为ID |
| 98 | self.fmodel.sort(0) # 排序第一列按照ID升序 |
| 99 | |
| 100 | def sortByClassify(self): |
| 101 | self.fmodel.setSortIndex(NameDict.get( |
nothing calls this directly
no outgoing calls
no test coverage detected