mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 11:41:49 +02:00
fix: changed exec_ to exec for all apps
This commit is contained in:
@ -26,7 +26,7 @@ def main():
|
||||
|
||||
UI(sys.argv[1])
|
||||
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -257,7 +257,7 @@ class EigerPlot(QWidget):
|
||||
)
|
||||
|
||||
dialog.setLayout(layout)
|
||||
dialog.exec_()
|
||||
dialog.exec()
|
||||
|
||||
###############################
|
||||
# just simulations from here
|
||||
@ -295,4 +295,4 @@ if __name__ == "__main__":
|
||||
app = QApplication(sys.argv)
|
||||
plot = EigerPlot()
|
||||
plot.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
@ -727,4 +727,4 @@ if __name__ == "__main__":
|
||||
|
||||
window = plotApp
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -158,4 +158,4 @@ if __name__ == "__main__":
|
||||
streamApp = StreamApp(device=args.device, sub_device=args.sub_device)
|
||||
|
||||
streamApp.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -208,4 +208,4 @@ if __name__ == "__main__":
|
||||
|
||||
window = modularApp
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -1081,7 +1081,7 @@ class MotorApp(QWidget):
|
||||
layout.addWidget(ok_button)
|
||||
|
||||
dialog.setLayout(layout)
|
||||
dialog.exec_()
|
||||
dialog.exec()
|
||||
|
||||
@staticmethod
|
||||
def param_changed(ui_element):
|
||||
@ -1348,4 +1348,4 @@ if __name__ == "__main__":
|
||||
MotorApp = MotorApp(selected_motors=selected_motors, plot_motors=plot_motors)
|
||||
window = MotorApp
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -268,4 +268,4 @@ if __name__ == "__main__":
|
||||
|
||||
window = plotApp
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -165,4 +165,4 @@ if __name__ == "__main__":
|
||||
app = QApplication([])
|
||||
window = ExampleApp()
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -328,4 +328,4 @@ if __name__ == "__main__":
|
||||
)
|
||||
plot.show()
|
||||
# client.callbacks.register("scan_segment", plot, sync=False)
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -149,4 +149,4 @@ if __name__ == "__main__":
|
||||
|
||||
plot.show()
|
||||
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
@ -148,4 +148,4 @@ if __name__ == "__main__":
|
||||
|
||||
plot.show()
|
||||
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
@ -507,4 +507,4 @@ if __name__ == "__main__": # pragma: no cover
|
||||
app = QApplication([])
|
||||
main_app = ConfigDialog()
|
||||
main_app.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
@ -473,4 +473,4 @@ if __name__ == "__main__": # pragma: no cover
|
||||
app = QApplication(sys.argv)
|
||||
monitor = BECMonitor(config=config_simple)
|
||||
monitor.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec())
|
||||
|
@ -438,4 +438,4 @@ if __name__ == "__main__": # pragma: no cover
|
||||
|
||||
window = scan_control
|
||||
window.show()
|
||||
app.exec_()
|
||||
app.exec()
|
||||
|
Reference in New Issue
Block a user