77from qt_material import apply_stylesheet
88
99from automation_editor .automation_editor_ui .complete .complete_extend import complete_extend_package
10- from automation_editor .automation_editor_ui . \
11- menu .api_testka_menu .build_api_testka_menu import set_apitestka_menu
12- from automation_editor .automation_editor_ui . \
13- menu .auto_control_menu .build_autocontrol_menu import set_autocontrol_menu
14- from automation_editor .automation_editor_ui .menu .automation_file_menu .build_automation_file_menu import \
15- set_automation_file_menu
16- from automation_editor .automation_editor_ui .menu .install_menu .build_install_menu import set_install_menu
17- from automation_editor .automation_editor_ui .menu . \
18- load_density_menu .build_load_density_menu import set_load_density_menu
19- from automation_editor .automation_editor_ui .menu .mail_thunder_menu .build_mail_thunder_menu import set_mail_thunder_menu
20- from automation_editor .automation_editor_ui \
21- .menu .web_runner_menu .build_webrunner_menu import set_web_runner_menu
10+ from automation_editor .automation_editor_ui .menu .build_menubar import add_menu_to_menubar
2211from automation_editor .automation_editor_ui .syntax .syntax_extend import \
2312 syntax_extend_package
2413
@@ -30,14 +19,12 @@ class AutomationEditor(EditorMain):
3019 def __init__ (self , debug_mode : bool = False ):
3120 super ().__init__ ()
3221 self .current_run_code_window : List [QWidget ] = list ()
22+ # Project compiler if user not choose this will use which to find
23+ self .python_compiler = None
24+ # Delete JEditor help
3325 self .help_menu .deleteLater ()
34- set_autocontrol_menu (self )
35- set_apitestka_menu (self )
36- set_load_density_menu (self )
37- set_web_runner_menu (self )
38- set_automation_file_menu (self )
39- set_mail_thunder_menu (self )
40- set_install_menu (self )
26+ # Menu
27+ add_menu_to_menubar (self )
4128 syntax_extend_package (self )
4229 complete_extend_package (self )
4330 # System tray change
0 commit comments