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

Method onClicked

QPushButton/SignalsExample.py:50–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 layout.addWidget(self.resultView)
49
50 def onClicked(self):
51 self.resultView.appendPlainText(
52 '按钮{0}被点击'.format(self.sender().objectName()))
53
54 def onPressed(self):
55 self.resultView.appendPlainText(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected