-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.py
65 lines (49 loc) · 1.94 KB
/
start.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from gui import Ui_MainWindow
from PyQt5 import QtCore,QtWidgets,QtGui
from PyQt5.QtGui import QMovie
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
import sys
import Lucy
class MainThread(QThread):
def __init__(self):
super(MainThread, self).__init__()
def run(self):
Lucy.security()
startfunctions = MainThread()
class Gui_start(QMainWindow):
def __init__(self):
super().__init__()
self.lucy_ui = Ui_MainWindow()
self.lucy_ui.setupUi(self)
def startfun(self):
self.lucy_ui.movies_2 = QtGui.QMovie("src/__1.gif")
self.lucy_ui.sm.setMovie(self.lucy_ui.movies_2)
self.lucy_ui.movies_2.start()
self.lucy_ui.movies_3 = QtGui.QMovie("src/Jarvis_Gui (1).gif")
self.lucy_ui.middle.setMovie(self.lucy_ui.movies_3)
self.lucy_ui.movies_3.start()
self.lucy_ui.movies_4 = QtGui.QMovie("src/Earth.gif")
self.lucy_ui.earth.setMovie(self.lucy_ui.movies_4)
self.lucy_ui.movies_4.start()
self.lucy_ui.movies_5 = QtGui.QMovie("src/dribbble.gif")
self.lucy_ui.percent.setMovie(self.lucy_ui.movies_5)
self.lucy_ui.movies_5.start()
self.lucy_ui.movies_6 = QtGui.QMovie("src/200.gif")
self.lucy_ui.code.setMovie(self.lucy_ui.movies_6)
self.lucy_ui.movies_6.start()
self.lucy_ui.movies_7 = QtGui.QMovie("src/0baf79ba59be86610edc1f810a79f2b7.gif")
self.lucy_ui.loadpic.setMovie(self.lucy_ui.movies_7)
self.lucy_ui.movies_7.start()
self.lucy_ui.movies_8 = QtGui.QMovie("src/initial.gif")
self.lucy_ui.initialize.setMovie(self.lucy_ui.movies_8)
self.lucy_ui.movies_8.start()
startfunctions.start()
def cls(self):
self.close()
gui_app = QApplication(sys.argv)
gui_lucy = Gui_start()
gui_lucy.startfun()
gui_lucy.show()
exit(gui_app.exec_())