# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(618, 589)
        MainWindow.setMaximumSize(QtCore.QSize(16777215, 600))
        MainWindow.setAutoFillBackground(False)
        MainWindow.setStyleSheet("alternate-background-color: rgb(0, 0, 0);")
        MainWindow.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(20, 60, 481, 71))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.opensong = QtWidgets.QLabel(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.opensong.setFont(font)
        self.opensong.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.opensong.setFrameShadow(QtWidgets.QFrame.Plain)
        self.opensong.setTextFormat(QtCore.Qt.AutoText)
        self.opensong.setObjectName("opensong")
        self.gridLayout.addWidget(self.opensong, 0, 0, 2, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.audio2 = QtWidgets.QPushButton(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setFamily("Andalus")
        font.setPointSize(10)
        font.setItalic(True)
        self.audio2.setFont(font)
        self.audio2.setStyleSheet("\n"
"border-color: rgb(0, 0, 0);")
        self.audio2.setProperty("indx", 2)
        self.audio2.setObjectName("audio2")
        self.gridLayout.addWidget(self.audio2, 0, 2, 1, 1)
        self.audio1 = QtWidgets.QPushButton(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setFamily("Andalus")
        font.setPointSize(10)
        font.setItalic(True)
        self.audio1.setFont(font)
        self.audio1.setAutoFillBackground(False)
        self.audio1.setAutoDefault(False)
        self.audio1.setDefault(False)
        self.audio1.setFlat(False)
        self.audio1.setProperty("indx", 1)
        self.audio1.setObjectName("audio1")
        self.gridLayout.addWidget(self.audio1, 0, 1, 1, 1)
        self.audioname2 = QtWidgets.QLabel(self.gridLayoutWidget)
        self.audioname2.setText("")
        self.audioname2.setObjectName("audioname2")
        self.gridLayout.addWidget(self.audioname2, 2, 2, 1, 1)
        self.audioname1 = QtWidgets.QLabel(self.gridLayoutWidget)
        self.audioname1.setText("")
        self.audioname1.setObjectName("audioname1")
        self.gridLayout.addWidget(self.audioname1, 2, 1, 1, 1)
        self.gridLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(40, 170, 521, 371))
        self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.svalue = QtWidgets.QLabel(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setFamily("Orbitron")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.svalue.setFont(font)
        self.svalue.setObjectName("svalue")
        self.gridLayout_2.addWidget(self.svalue, 0, 1, 1, 1)
        self.resultstable = QtWidgets.QTableWidget(self.gridLayoutWidget_2)
        self.resultstable.setEnabled(True)
        self.resultstable.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
        self.resultstable.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.resultstable.setAlternatingRowColors(False)
        self.resultstable.setRowCount(10)
        self.resultstable.setColumnCount(2)
        for row in range(10):
            self.resultstable.verticalHeader().setSectionResizeMode(row, QtWidgets.QHeaderView.Stretch)

        self.resultstable.setHorizontalHeaderLabels([" Matches Songs", "Similarity Index"])

        for col in range(2):
            self.resultstable.horizontalHeader().setSectionResizeMode(col, QtWidgets.QHeaderView.Stretch)
            self.resultstable.horizontalHeaderItem(col).setBackground(QtGui.QColor(57, 65, 67))
        
        self.resultstable.setObjectName("resultstable")
        self.resultstable.horizontalHeader().setVisible(True)
        self.gridLayout_2.addWidget(self.resultstable, 1, 0, 1, 3)
        self.search = QtWidgets.QPushButton(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.search.setFont(font)
        self.search.setObjectName("search")
        self.gridLayout_2.addWidget(self.search, 0, 2, 1, 1)
 
        self.slider = QtWidgets.QSlider(self.gridLayoutWidget_2)
        self.slider.setMaximum(100)
        self.slider.setSingleStep(10)
        self.slider.setProperty("value", 50)
        self.slider.setOrientation(QtCore.Qt.Horizontal)
        #self.ratioSlider.setTickPosition(QtWidgets.QSlider.TicksBelow)
        self.slider.setObjectName("slider")
        self.gridLayout_2.addWidget(self.slider, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 618, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.slider.valueChanged['int'].connect(self.svalue.setNum)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Audio Recognizer"))
        self.opensong.setText(_translate("MainWindow", "                      Open"))
        self.audio2.setText(_translate("MainWindow", "Audio2"))
        self.audio1.setText(_translate("MainWindow", "Audio1"))
        self.svalue.setText(_translate("MainWindow", "50"))
        self.search.setText(_translate("MainWindow", "Search"))
