Skip to content

Commit 6ee204e

Browse files
committed
start the dev of a new application GenApp
1 parent 1fd1203 commit 6ee204e

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)