[ui] Rename "play" to "preview"

pull/357/head
nyanpasu64 2019-01-30 22:46:10 -08:00
rodzic c72b6f3fdb
commit e7533a9a8a
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -111,7 +111,7 @@ class MainWindow(qw.QMainWindow):
self.actionOpen.triggered.connect(self.on_action_open)
self.actionSave.triggered.connect(self.on_action_save)
self.actionSaveAs.triggered.connect(self.on_action_save_as)
self.actionPlay.triggered.connect(self.on_action_play)
self.actionPreview.triggered.connect(self.on_action_preview)
self.actionRender.triggered.connect(self.on_action_render)
self.actionExit.triggered.connect(qw.QApplication.closeAllWindows)
@ -268,7 +268,7 @@ class MainWindow(qw.QMainWindow):
actionOpen: qw.QAction
actionSave: qw.QAction
actionSaveAs: qw.QAction
actionPlay: qw.QAction
actionPreview: qw.QAction
actionRender: qw.QAction
actionExit: qw.QAction
@ -333,7 +333,7 @@ class MainWindow(qw.QMainWindow):
else:
return False
def on_action_play(self):
def on_action_preview(self):
""" Launch CorrScope and ffplay. """
error_msg = "Cannot play, another play/render is active"
if self.corr_thread is not None:

Wyświetl plik

@ -572,7 +572,7 @@
<addaction name="actionSave"/>
<addaction name="actionSaveAs"/>
<addaction name="separator"/>
<addaction name="actionPlay"/>
<addaction name="actionPreview"/>
<addaction name="actionRender"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
@ -601,7 +601,7 @@
<addaction name="actionSave"/>
<addaction name="actionSaveAs"/>
<addaction name="separator"/>
<addaction name="actionPlay"/>
<addaction name="actionPreview"/>
<addaction name="actionRender"/>
</widget>
<action name="actionOpen">
@ -644,9 +644,9 @@
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionPlay">
<action name="actionPreview">
<property name="text">
<string>&amp;Play</string>
<string>&amp;Preview</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>