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

Method doDeleteItem

QListWidget/DeleteCustomItem.py:34–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 layout.addWidget(QPushButton('x', self, clicked=self.doDeleteItem))
33
34 def doDeleteItem(self):
35 self.itemDeleted.emit(self._item)
36
37 def sizeHint(self):
38 # 决定item的高度

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected