From c2017d9599e413e13967b0a6268d92e19451249a Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Mon, 27 Dec 2021 21:01:58 +0100 Subject: Added playback speed slider --- MainWindow.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MainWindow.py') diff --git a/MainWindow.py b/MainWindow.py index 5cec554..0dde7f0 100644 --- a/MainWindow.py +++ b/MainWindow.py @@ -69,6 +69,10 @@ class Ui_MainWindow(object): self.addSongButton = QtWidgets.QPushButton(self.centralwidget) self.addSongButton.setObjectName("addSongButton") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.addSongButton) + self.rateSlider = QtWidgets.QSlider(self.centralwidget) + self.rateSlider.setOrientation(QtCore.Qt.Horizontal) + self.rateSlider.setObjectName("rateSlider") + self.formLayout.setWidget(12, QtWidgets.QFormLayout.FieldRole, self.rateSlider) self.horizontalLayout.addLayout(self.formLayout) self.verticalLayout.addLayout(self.horizontalLayout) self.centralWidgetLayout.addLayout(self.verticalLayout) -- cgit v1.2.3