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

Method __init__

QTreeWidget/ParsingJson.py:55–60  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

53class JsonTreeWidget(QTreeWidget):
54
55 def __init__(self, *args, **kwargs):
56 super(JsonTreeWidget, self).__init__(*args, **kwargs)
57 self.setEditTriggers(self.NoEditTriggers)
58 self.header().setVisible(False)
59 # 帮点单击事件
60 self.itemClicked.connect(self.onItemClicked)
61
62 def onItemClicked(self, item):
63 """item单击事件"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected