Commit 03ba6982 authored by xuanweiace's avatar xuanweiace

upd ui参数和展示的文字啥的

parent 826eb33f
......@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>585</width>
<height>342</height>
<height>326</height>
</rect>
</property>
<property name="windowTitle">
......@@ -16,8 +16,8 @@
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>230</x>
<y>340</y>
<x>220</x>
<y>250</y>
<width>341</width>
<height>32</height>
</rect>
......
......@@ -12,9 +12,9 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(585, 342)
Dialog.resize(585, 326)
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
self.buttonBox.setGeometry(QtCore.QRect(230, 340, 341, 32))
self.buttonBox.setGeometry(QtCore.QRect(220, 250, 341, 32))
self.buttonBox.setToolTip("")
self.buttonBox.setToolTipDuration(-1)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
......
......@@ -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>
......
......@@ -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
......
......@@ -374,7 +374,7 @@
</rect>
</property>
<property name="text">
<string>刷新
<string>填充
行信息</string>
</property>
</widget>
......
......@@ -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"
"行信息"))
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment