MVVM pattern finished, adding multiple location provider

This commit is contained in:
2024-02-02 19:56:14 +01:00
parent 8acc18c7fe
commit 53f5984eb5
14 changed files with 360 additions and 354 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/python3
import sys
from ui.main_window import *
from model.main_view_model import *
if __name__ == "__main__":
if len(sys.argv) == 1:
# Load the configuration window
main = Main_Window()
main.show()
elif sys.argv[1] == "loop":
# Run the methods which updates the data
view_model = Main_View_Model()
view_model.refresh_image()
view_model.set_background_gradient()