2024-11-17 18:54:51 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
def connect_gui(app):
|
2024-11-18 18:28:26 +01:00
|
|
|
app.main_window.openFile.triggered.connect(app.file_actions.open_files)
|
2024-11-19 18:32:52 +01:00
|
|
|
app.main_window.saveFile.triggered.connect(app.file_actions.save_current_file)
|
2024-11-19 19:05:28 +01:00
|
|
|
app.main_window.openFileTabs.tabCloseRequested.connect(app.file_actions.close_current_file)
|
2024-11-20 13:45:49 +01:00
|
|
|
app.QTMainWindow.closeEvent = app.utils.on_close
|
2024-11-21 16:40:37 +01:00
|
|
|
app.main_window.menuSettings.triggered.connect(app.utils.open_settings)
|