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

Method onToggled

QPushButton/SignalsExample.py:62–64  ·  view source on GitHub ↗
(self, checked)

Source from the content-addressed store, hash-verified

60 '按钮{0}被释放'.format(self.sender().objectName()))
61
62 def onToggled(self, checked):
63 self.resultView.appendPlainText(
64 '按钮{0}被选中:{1}'.format(self.sender().objectName(), checked))
65
66
67if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected