Basic structure for the QT application with empty window
This commit is contained in:
18
src/bedit_gui/application.py
Normal file
18
src/bedit_gui/application.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from __future__ import annotations
|
||||
import sys
|
||||
|
||||
from PySide6.QtWidgets import QApplication
|
||||
|
||||
from bedit_gui.resources.generated import resources_rc
|
||||
from bedit_gui.views.main_window import MainWindow
|
||||
|
||||
def main() -> int:
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
app.setOrganizationName("BEdit")
|
||||
app.setApplicationName("BEdit")
|
||||
|
||||
window = MainWindow()
|
||||
window.show()
|
||||
|
||||
return app.exec()
|
||||
Reference in New Issue
Block a user