aboutsummaryrefslogtreecommitdiffstats
path: root/MainWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'MainWindow.py')
-rw-r--r--MainWindow.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/MainWindow.py b/MainWindow.py
index 9194943..531d905 100644
--- a/MainWindow.py
+++ b/MainWindow.py
@@ -45,12 +45,15 @@ class Ui_MainWindow(object):
self.horizontalLayout.addWidget(self.abListView)
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setObjectName("formLayout")
- self.playPauseButton = QtWidgets.QPushButton(self.centralwidget)
- self.playPauseButton.setObjectName("playPauseButton")
- self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.playPauseButton)
+ self.playButton = QtWidgets.QPushButton(self.centralwidget)
+ self.playButton.setObjectName("playButton")
+ self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.playButton)
+ self.pauseButton = QtWidgets.QPushButton(self.centralwidget)
+ self.pauseButton.setObjectName("pauseButton")
+ self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pauseButton)
self.saveAbButton = QtWidgets.QPushButton(self.centralwidget)
self.saveAbButton.setObjectName("saveAbButton")
- self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.saveAbButton)
+ self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.saveAbButton)
self.saveSessionButton = QtWidgets.QPushButton(self.centralwidget)
self.saveSessionButton.setObjectName("saveSessionButton")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.saveSessionButton)
@@ -63,12 +66,13 @@ class Ui_MainWindow(object):
self.initMidiButton = QtWidgets.QPushButton(self.centralwidget)
self.initMidiButton.setObjectName("initMidiButton")
self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.initMidiButton)
+ self.addSongButton = QtWidgets.QPushButton(self.centralwidget)
+ self.addSongButton.setObjectName("addSongButton")
+ self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.addSongButton)
self.horizontalLayout.addLayout(self.formLayout)
self.verticalLayout.addLayout(self.horizontalLayout)
self.centralWidgetLayout.addLayout(self.verticalLayout)
MainWindow.setCentralWidget(self.centralwidget)
- self.addSongAction = QtWidgets.QAction(MainWindow)
- self.addSongAction.setObjectName("addSongAction")
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
@@ -76,10 +80,11 @@ class Ui_MainWindow(object):
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
- self.playPauseButton.setText(_translate("MainWindow", "Play/pause"))
+ self.playButton.setText(_translate("MainWindow", "Play"))
+ self.pauseButton.setText(_translate("MainWindow", "Pause"))
self.saveAbButton.setText(_translate("MainWindow", "Save AB"))
self.saveSessionButton.setText(_translate("MainWindow", "Save session"))
self.loadSessionButton.setText(_translate("MainWindow", "Load session"))
self.abRepeatButton.setText(_translate("MainWindow", "AB repeat"))
self.initMidiButton.setText(_translate("MainWindow", "Connect MIDI"))
- self.addSongAction.setText(_translate("MainWindow", "Add song"))
+ self.addSongButton.setText(_translate("MainWindow", "Add song"))