MCPcopy
hub / github.com/PyQt5/PyQt / _checkAction

Method _checkAction

QMenu/MultiSelect.py:60–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 action.activate(action.Trigger)
59
60 def _checkAction(self):
61 # 三个action都响应该函数
62 self.labelInfo.setText('\n'.join(['{}\t选中:{}'.format(
63 action.text(), action.isChecked()) for action in self._menu.actions()]))
64
65
66if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

setTextMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected