MCPcopy
hub / github.com/PyQt5/PyQt / horizontalHeaderLabels

Method horizontalHeaderLabels

QTreeView/Lib/qjsonmodel.py:223–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 return False
222
223 def horizontalHeaderLabels(self) -> List[str]:
224 return [self.horizontalHeaderItem(i).text() for i in range(self.columnCount())]
225
226 def clear(self):
227 headers = self.horizontalHeaderLabels()

Callers 1

clearMethod · 0.95

Calls 2

columnCountMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected