-
Notifications
You must be signed in to change notification settings - Fork 0
/
musciUI.py
70 lines (63 loc) · 3.49 KB
/
musciUI.py
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'musciUI.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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(2180, 538)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(520, 20, 112, 32))
self.pushButton.setObjectName("pushButton")
self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit.setGeometry(QtCore.QRect(190, 20, 271, 21))
self.lineEdit.setObjectName("lineEdit")
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(-10, 50, 2181, 371))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.startbtn = QtWidgets.QPushButton(self.centralwidget)
self.startbtn.setGeometry(QtCore.QRect(640, 20, 112, 32))
self.startbtn.setObjectName("startbtn")
self.lab_time = QtWidgets.QLabel(self.centralwidget)
self.lab_time.setGeometry(QtCore.QRect(2110, 460, 58, 16))
self.lab_time.setObjectName("lab_time")
self.lab_duration = QtWidgets.QLabel(self.centralwidget)
self.lab_duration.setGeometry(QtCore.QRect(30, 460, 58, 16))
self.lab_duration.setObjectName("lab_duration")
self.slider_time = QtWidgets.QSlider(self.centralwidget)
self.slider_time.setGeometry(QtCore.QRect(40, 440, 2121, 22))
self.slider_time.setOrientation(QtCore.Qt.Horizontal)
self.slider_time.setObjectName("slider_time")
self.db_btn = QtWidgets.QPushButton(self.centralwidget)
self.db_btn.setGeometry(QtCore.QRect(760, 20, 112, 32))
self.db_btn.setObjectName("db_btn")
self.music_flag = QtWidgets.QLineEdit(self.centralwidget)
self.music_flag.setGeometry(QtCore.QRect(30, 10, 113, 21))
self.music_flag.setObjectName("music_flag")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 2180, 22))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.pushButton.setText(_translate("MainWindow", "打开"))
self.startbtn.setText(_translate("MainWindow", "播放"))
self.lab_time.setText(_translate("MainWindow", "00:00"))
self.lab_duration.setText(_translate("MainWindow", "00:00"))
self.db_btn.setText(_translate("MainWindow", "导入downbeat"))