This commit is contained in:
Irony 2019-08-08 10:11:31 +08:00
parent 64ed5517a9
commit d2cb0f4cad
6 changed files with 6 additions and 6 deletions

View file

@ -75,4 +75,4 @@ model = node.acquireModel('RemoteModel')
view.setModel(model) view.setModel(model)
view.show(); view.show();
sys.exit(app.exec_()) sys.exit(app.exec_())

View file

@ -166,4 +166,4 @@ if __name__ == '__main__':
QTimer.singleShot(12000, handler.removeData) QTimer.singleShot(12000, handler.removeData)
QTimer.singleShot(13000, handler.moveData) QTimer.singleShot(13000, handler.moveData)
sys.exit(app.exec_()) sys.exit(app.exec_())

View file

@ -107,4 +107,4 @@ if __name__ == '__main__':
# Create the client switch object and pass the replica to it. # Create the client switch object and pass the replica to it.
rswitch = DynamicClient(replica) rswitch = DynamicClient(replica)
sys.exit(app.exec_()) sys.exit(app.exec_())

View file

@ -127,4 +127,4 @@ if __name__ == '__main__':
# Enable remoting. # Enable remoting.
srcNode.enableRemoting(srcSwitch, 'SimpleSwitch') srcNode.enableRemoting(srcSwitch, 'SimpleSwitch')
sys.exit(app.exec_()) sys.exit(app.exec_())

View file

@ -104,4 +104,4 @@ if __name__ == '__main__':
# Create the client switch object and pass the replica to it. # Create the client switch object and pass the replica to it.
rswitch = DynamicClient(replica) rswitch = DynamicClient(replica)
sys.exit(app.exec_()) sys.exit(app.exec_())

View file

@ -132,4 +132,4 @@ if __name__ == '__main__':
# Enable remoting. # Enable remoting.
srcNode.enableRemoting(srcSwitch, 'SimpleSwitch') srcNode.enableRemoting(srcSwitch, 'SimpleSwitch')
sys.exit(app.exec_()) sys.exit(app.exec_())