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

Method sortByName

QListView/CustomWidgetSortItem.py:108–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.fmodel.sort(0, Qt.DescendingOrder)
107
108 def sortByName(self):
109 # 按照名字升序排序
110 self.fmodel.sort(0, Qt.AscendingOrder)
111
112
113if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected