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

Method initHeader

QTableView/CopyContent.py:91–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 QMessageBox.information(self, "提示", "已复制")
90
91 def initHeader(self):
92 for i in range(5):
93 self.myModel.setHorizontalHeaderItem(
94 i, QStandardItem("表头" + str(i + 1)))
95
96 def initData(self):
97 for row in range(100):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected