MCPcopy Create free account
hub / github.com/KDAB/KDChart / rowCount

Method rowCount

python/examples/reorder/main.py:43–46  ·  view source on GitHub ↗
(self, index=QModelIndex())

Source from the content-addressed store, hash-verified

41 self.tasks.append(task)
42
43 def rowCount(self, index=QModelIndex()):
44 if index.isValid():
45 return 0
46 return len(self.tasks)
47
48 def columnCount(self, index=QModelIndex()): # pylint: disable=no-self-use
49 if index.isValid():

Callers 5

dataMethod · 0.95
addNewEntryMethod · 0.45
initMethod · 0.45
addDependItemMethod · 0.45
totalHeightMethod · 0.45

Calls 2

QModelIndexClass · 0.50
isValidMethod · 0.45

Tested by

no test coverage detected