-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathui.py
More file actions
26 lines (21 loc) · 646 Bytes
/
ui.py
File metadata and controls
26 lines (21 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import sys
import dearpygui.dearpygui as dpg
# Import callbacks and other stuff
sys.path.append("src/")
from src.ui import parameters
# Run user intereface
def run_ui():
dpg.create_context()
dpg.create_viewport(title='H-Line software - By Victor Boesen', width=650, height=500)
# Show window for each parameter category
parameters.sdrWindow()
parameters.observerWindow()
parameters.observationWindow()
parameters.actionsWindow()
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
if __name__ == "__main__":
print("Launching user interface!")
run_ui()