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

Method onItemClicked

QListWidget/SignalsExample.py:100–102  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

98 formatColor('itemChanged', QColor(Qt.cyan)), item.text()))
99
100 def onItemClicked(self, item):
101 self.resultView.appendHtml(
102 '{0}: {1}'.format(formatColor('itemClicked', QColor(Qt.magenta)), item.text()))
103
104 def onItemDoubleClicked(self, item):
105 self.resultView.appendHtml(

Callers

nothing calls this directly

Calls 2

formatColorFunction · 0.85
textMethod · 0.45

Tested by

no test coverage detected