Change names of main python file and ui to artemis. Also change main application/class name to Artemis
This commit is contained in:
@@ -43,11 +43,11 @@ from utilities import (checksum_ok,
|
||||
|
||||
import icon_rc
|
||||
|
||||
qt_creator_file = resource_path("main_window.ui")
|
||||
qt_creator_file = resource_path("artemis.ui")
|
||||
Ui_MainWindow, _ = uic.loadUiType(qt_creator_file)
|
||||
|
||||
|
||||
class MyApp(QMainWindow, Ui_MainWindow):
|
||||
class Artemis(QMainWindow, Ui_MainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setupUi(self)
|
||||
@@ -1041,6 +1041,6 @@ if __name__ == '__main__':
|
||||
splash = QSplashScreen(img)
|
||||
splash.show()
|
||||
sleep(2)
|
||||
w = MyApp()
|
||||
w = Artemis()
|
||||
splash.finish(w)
|
||||
sys.exit(my_app.exec_())
|
||||
4916
artemis.ui
Normal file
4916
artemis.ui
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,10 @@ from PyQt5 import uic
|
||||
from PyQt5.QtCore import Qt, pyqtSlot
|
||||
from PyQt5.QtWidgets import QWidget
|
||||
from threads import DownloadThread, ThreadStatus
|
||||
from utilities import pop_up
|
||||
from utilities import pop_up, resource_path
|
||||
from constants import Messages
|
||||
|
||||
Ui_Download_window, _ = uic.loadUiType("download_db_window.ui")
|
||||
Ui_Download_window, _ = uic.loadUiType(resource_path("download_db_window.ui"))
|
||||
|
||||
class DownloadWindow(QWidget, Ui_Download_window):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user