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

Method onStateChanged

QtRemoteObjects/SyncUi/WindowSlave.py:47–49  ·  view source on GitHub ↗
(self, newState, oldState)

Source from the content-addressed store, hash-verified

45 layout.addWidget(self.progressBar)
46
47 def onStateChanged(self, newState, oldState):
48 if newState == QRemoteObjectReplica.Suspect:
49 QMessageBox.critical(self, '错误', '连接丢失')
50
51 def onInitialized(self):
52 # Master和Slave输入框绑定

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected