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

Method onFilterPathToggled

QTreeView/TestJsonModel.py:147–151  ·  view source on GitHub ↗
(self, checked)

Source from the content-addressed store, hash-verified

145 )
146
147 def onFilterPathToggled(self, checked):
148 if checked:
149 self.fmodel.setFilterRole(QJsonItem.PathRole)
150 else:
151 self.fmodel.setFilterRole(Qt.DisplayRole)
152
153 def onFilterTextChanged(self, text):
154 self.fmodel.setFilterFixedString(text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected