aboutsummaryrefslogtreecommitdiffstats
path: root/MainWindow.py
blob: 919494365980c1bacc476dbecc6c669cd96d7fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(602, 424)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.centralWidgetLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.centralWidgetLayout.setObjectName("centralWidgetLayout")
        self.songListView = QtWidgets.QListView(self.centralwidget)
        self.songListView.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.songListView.setObjectName("songListView")
        self.centralWidgetLayout.addWidget(self.songListView)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.songSlider = QtWidgets.QSlider(self.centralwidget)
        self.songSlider.setMinimumSize(QtCore.QSize(0, 0))
        self.songSlider.setOrientation(QtCore.Qt.Horizontal)
        self.songSlider.setObjectName("songSlider")
        self.verticalLayout.addWidget(self.songSlider)
        self.aSlider = QtWidgets.QSlider(self.centralwidget)
        self.aSlider.setOrientation(QtCore.Qt.Horizontal)
        self.aSlider.setObjectName("aSlider")
        self.verticalLayout.addWidget(self.aSlider)
        self.bSlider = QtWidgets.QSlider(self.centralwidget)
        self.bSlider.setOrientation(QtCore.Qt.Horizontal)
        self.bSlider.setObjectName("bSlider")
        self.verticalLayout.addWidget(self.bSlider)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.abListView = QtWidgets.QListView(self.centralwidget)
        self.abListView.setObjectName("abListView")
        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.saveAbButton = QtWidgets.QPushButton(self.centralwidget)
        self.saveAbButton.setObjectName("saveAbButton")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.saveAbButton)
        self.saveSessionButton = QtWidgets.QPushButton(self.centralwidget)
        self.saveSessionButton.setObjectName("saveSessionButton")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.saveSessionButton)
        self.loadSessionButton = QtWidgets.QPushButton(self.centralwidget)
        self.loadSessionButton.setObjectName("loadSessionButton")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.loadSessionButton)
        self.abRepeatButton = QtWidgets.QCheckBox(self.centralwidget)
        self.abRepeatButton.setObjectName("abRepeatButton")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.abRepeatButton)
        self.initMidiButton = QtWidgets.QPushButton(self.centralwidget)
        self.initMidiButton.setObjectName("initMidiButton")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.initMidiButton)
        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)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.playPauseButton.setText(_translate("MainWindow", "Play/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"))