You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
606 B
Python
21 lines
606 B
Python
from PyQt5.QtWidgets import QApplication, QStyleFactory
|
|
from UI.MainWindow import MainWindow, CommonHelper
|
|
from model.ClientModel.Client import Client
|
|
|
|
from utils import Globals
|
|
|
|
import time
|
|
import sys
|
|
|
|
|
|
if __name__ == '__main__':
|
|
app = QApplication(sys.argv)
|
|
app.setStyle(QStyleFactory.create('windowsvisio'))
|
|
app.setStyleSheet(CommonHelper.readQss('static/main.qss') + CommonHelper.readQss('static/Area.qss'))
|
|
Globals._init()
|
|
Client.initDB()
|
|
window = MainWindow()
|
|
window.showFullScreen()
|
|
Globals.setValue('MainWindow', window)
|
|
# window.show()
|
|
sys.exit(app.exec_()) |