This repository has been archived on 2022-12-22. You can view files and clone it, but cannot push or open issues/pull-requests.
Concorde-IDE/main.py

33 lines
1.0 KiB
Python

#!/usr/bin/python3
import os
import sys
import gui_helper
import gui_handler
from PySide6 import QtWidgets
from config import Config
################################################################################
# CONSTANTS
################################################################################
default_configuration = {
"window geometry": (800, 600)
}
configuration_file_path = os.path.join(os.path.expanduser("~"), "concorde_ide_config.json")
################################################################################
# PROGRAM STARTUP
################################################################################
configuration = Config(configuration_file_path, default_configuration)
################################################################################
# PROGRAM MAIN WINDOW
################################################################################
app = QtWidgets.QApplication([])
main_window = gui_handler.MainWindow()
main_window.resize(800, 600)
main_window.show()
sys.exit(app.exec())