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

Method onModelChanged

QTreeView/TestSerializeModel.py:108–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.treeJsonView.expandAll()
107
108 def onModelChanged(self):
109 data = self.mapper.getJson(indent=2)
110 self.editJsonView.blockSignals(True)
111 self.editJsonView.setPlainText(data)
112 self.editJsonView.blockSignals(False)
113
114 def onJsonChanged(self):
115 text = self.editJsonView.toPlainText().strip()

Callers

nothing calls this directly

Calls 1

getJsonMethod · 0.80

Tested by

no test coverage detected