MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / add_item

Method add_item

deeplabcut/gui/widgets.py:92–96  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

90 return state, n_checked
91
92 def add_item(self, path):
93 item = QStandardItem(path)
94 item.setCheckable(True)
95 item.setCheckState(QtCore.Qt.Checked)
96 self.model.appendRow(item)
97
98 def clear(self):
99 self.model.removeRows(0, self.model.rowCount())

Callers 3

dropEventMethod · 0.95
__init__Method · 0.80
browse_videosMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected