Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
accessibility_movie_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵心治
accessibility_movie_2
Commits
03ba6982
Commit
03ba6982
authored
Oct 03, 2022
by
xuanweiace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upd ui参数和展示的文字啥的
parent
826eb33f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
15 deletions
+12
-15
assemble_dialog.ui
assemble_dialog.ui
+3
-3
assemble_dialog_ui.py
assemble_dialog_ui.py
+2
-2
main_window.ui
main_window.ui
+2
-2
main_window_ui.py
main_window_ui.py
+2
-2
operation_dialog.ui
operation_dialog.ui
+1
-1
operation_dialog_ui.py
operation_dialog_ui.py
+1
-1
setting_dialog.py
setting_dialog.py
+1
-4
No files found.
assemble_dialog.ui
View file @
03ba6982
...
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
585
</width>
<height>
3
42
</height>
<height>
3
26
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -16,8 +16,8 @@
<widget
class=
"QDialogButtonBox"
name=
"buttonBox"
>
<property
name=
"geometry"
>
<rect>
<x>
2
3
0
</x>
<y>
34
0
</y>
<x>
2
2
0
</x>
<y>
25
0
</y>
<width>
341
</width>
<height>
32
</height>
</rect>
...
...
assemble_dialog_ui.py
View file @
03ba6982
...
...
@@ -12,9 +12,9 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class
Ui_Dialog
(
object
):
def
setupUi
(
self
,
Dialog
):
Dialog
.
setObjectName
(
"Dialog"
)
Dialog
.
resize
(
585
,
3
42
)
Dialog
.
resize
(
585
,
3
26
)
self
.
buttonBox
=
QtWidgets
.
QDialogButtonBox
(
Dialog
)
self
.
buttonBox
.
setGeometry
(
QtCore
.
QRect
(
2
30
,
34
0
,
341
,
32
))
self
.
buttonBox
.
setGeometry
(
QtCore
.
QRect
(
2
20
,
25
0
,
341
,
32
))
self
.
buttonBox
.
setToolTip
(
""
)
self
.
buttonBox
.
setToolTipDuration
(
-
1
)
self
.
buttonBox
.
setOrientation
(
QtCore
.
Qt
.
Horizontal
)
...
...
main_window.ui
View file @
03ba6982
...
...
@@ -588,7 +588,7 @@ QPushButton:pressed {
</action>
<action
name=
"action_view_history"
>
<property
name=
"text"
>
<string>
history
</string>
<string>
----
</string>
</property>
</action>
<action
name=
"action_refresh_tab"
>
...
...
@@ -598,7 +598,7 @@ QPushButton:pressed {
</action>
<action
name=
"action_operate"
>
<property
name=
"text"
>
<string>
增删行
</string>
<string>
操作表格
</string>
</property>
</action>
</widget>
...
...
main_window_ui.py
View file @
03ba6982
...
...
@@ -349,9 +349,9 @@ class Ui_MainWindow(object):
self
.
action_redo
.
setText
(
_translate
(
"MainWindow"
,
"重做"
))
self
.
actiona_3
.
setText
(
_translate
(
"MainWindow"
,
"旁白区间检测"
))
self
.
actiona_4
.
setText
(
_translate
(
"MainWindow"
,
"旁白音频合成"
))
self
.
action_view_history
.
setText
(
_translate
(
"MainWindow"
,
"
history
"
))
self
.
action_view_history
.
setText
(
_translate
(
"MainWindow"
,
"
----
"
))
self
.
action_refresh_tab
.
setText
(
_translate
(
"MainWindow"
,
"刷新且保存表格"
))
self
.
action_operate
.
setText
(
_translate
(
"MainWindow"
,
"
增删行
"
))
self
.
action_operate
.
setText
(
_translate
(
"MainWindow"
,
"
操作表格
"
))
from
myVideoWidget
import
myVideoWidget
...
...
operation_dialog.ui
View file @
03ba6982
...
...
@@ -374,7 +374,7 @@
</rect>
</property>
<property
name=
"text"
>
<string>
刷新
<string>
填充
行信息
</string>
</property>
</widget>
...
...
operation_dialog_ui.py
View file @
03ba6982
...
...
@@ -137,7 +137,7 @@ class Ui_Dialog(object):
self
.
pushButton
.
setText
(
_translate
(
"Dialog"
,
"检测"
))
self
.
pushButton_2
.
setText
(
_translate
(
"Dialog"
,
"修改"
))
self
.
label_13
.
setText
(
_translate
(
"Dialog"
,
"*需要填在【字幕旁白】页面中的行数"
))
self
.
pushButton_3
.
setText
(
_translate
(
"Dialog"
,
"
刷新
\n
"
self
.
pushButton_3
.
setText
(
_translate
(
"Dialog"
,
"
填充
\n
"
"行信息"
))
setting_dialog.py
View file @
03ba6982
...
...
@@ -13,14 +13,11 @@ audioPlayed = winsound.PlaySound(None, winsound.SND_NODEFAULT)
class
Setting_Dialog
(
QDialog
,
Ui_Dialog
):
# 开始合成信号,传参分别是video_path,audio_dir, sheet_path,speed_info, caption_path, speaker_info
# 注意这里打包成一个list,在worker端进行解参数,避免传参过多
start_assemble_signal
=
pyqtSignal
(
list
)
def
__init__
(
self
,
projectContext
):
super
(
Setting_Dialog
,
self
)
.
__init__
()
self
.
setupUi
(
self
)
self
.
setWindowTitle
(
"
合成
"
)
self
.
setWindowTitle
(
"
设置
"
)
self
.
projectContext
=
projectContext
# todo 把所有说话人都加上来
li
=
self
.
projectContext
.
get_all_speaker_info
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment