forked from hxabcd/enji_but_pyqt
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcover.py
More file actions
32 lines (26 loc) · 671 Bytes
/
cover.py
File metadata and controls
32 lines (26 loc) · 671 Bytes
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
"""视频封面"""
from components import *
from main import Animation
app = Animation()
app.yan.preload_seqframe("frames/yan")
app.zhi.preload_seqframe("frames/zhi")
app.small_teto1.preload_seqframe("frames/small_teto1")
text1 = ContainerWindow(
DecoratedLabel(
text="<span style='font-size: 320px;'>但是</span>",
),
position=("mid", "mid"),
)
text2 = ContainerWindow(
DecoratedLabel(
text="<span style='color: #0078D4; font-size: 240px;'>Windows</span>",
# text_font=QFont("Microsoft YaHei"),
),
position=("mid", "mid"),
)
app.yan.show()
app.zhi.show()
app.small_teto1.show()
text1.show()
text2.show()
app.exec()