We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd1203 commit 6ee204eCopy full SHA for 6ee204e
1 file changed
src/pymodaq_plugins_teaching/app/gen_app.py
@@ -0,0 +1,25 @@
1
+from pymodaq_gui.utils.custom_app import CustomApp
2
+
3
4
+class GenApp(CustomApp):
5
6
+ def __init__(self, parent):
7
+ super().__init__(parent)
8
9
10
+def main():
11
+ from pymodaq_gui.utils.utils import mkQApp
12
+ from pymodaq_gui.utils.dock import DockArea
13
+ from qtpy import QtWidgets
14
+ import numpy as np
15
16
+ app = mkQApp('GenApp')
17
+ area = DockArea()
18
+ win = QtWidgets.QMainWindow()
19
+ win.setCentralWidget(area)
20
+ gen_app = GenApp(area)
21
+ win.show()
22
+ app.exec()
23
24
+if __name__ == '__main__':
25
+ main()
0 commit comments