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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/piezo_speaker_v2/ui/piezo_speaker_v2.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_PiezoSpeakerV2(object):
    def setupUi(self, PiezoSpeakerV2):
        PiezoSpeakerV2.setObjectName("PiezoSpeakerV2")
        PiezoSpeakerV2.resize(571, 368)
        self.verticalLayout = QtWidgets.QVBoxLayout(PiezoSpeakerV2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.alarm_start_frequency_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.alarm_start_frequency_spinbox.setMinimum(50)
        self.alarm_start_frequency_spinbox.setMaximum(14999)
        self.alarm_start_frequency_spinbox.setProperty("value", 800)
        self.alarm_start_frequency_spinbox.setObjectName("alarm_start_frequency_spinbox")
        self.gridLayout.addWidget(self.alarm_start_frequency_spinbox, 7, 2, 1, 1)
        self.beep_button = QtWidgets.QPushButton(PiezoSpeakerV2)
        self.beep_button.setObjectName("beep_button")
        self.gridLayout.addWidget(self.beep_button, 4, 0, 1, 3)
        self.alarm_end_frequency_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.alarm_end_frequency_slider.setMinimum(51)
        self.alarm_end_frequency_slider.setMaximum(15000)
        self.alarm_end_frequency_slider.setProperty("value", 2000)
        self.alarm_end_frequency_slider.setOrientation(QtCore.Qt.Horizontal)
        self.alarm_end_frequency_slider.setObjectName("alarm_end_frequency_slider")
        self.gridLayout.addWidget(self.alarm_end_frequency_slider, 8, 1, 1, 1)
        self.alarm_start_frequency_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.alarm_start_frequency_slider.setMinimum(50)
        self.alarm_start_frequency_slider.setMaximum(14999)
        self.alarm_start_frequency_slider.setProperty("value", 800)
        self.alarm_start_frequency_slider.setOrientation(QtCore.Qt.Horizontal)
        self.alarm_start_frequency_slider.setObjectName("alarm_start_frequency_slider")
        self.gridLayout.addWidget(self.alarm_start_frequency_slider, 7, 1, 1, 1)
        self.beep_duration_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.beep_duration_spinbox.setMinimum(1)
        self.beep_duration_spinbox.setMaximum(10000)
        self.beep_duration_spinbox.setProperty("value", 1000)
        self.beep_duration_spinbox.setObjectName("beep_duration_spinbox")
        self.gridLayout.addWidget(self.beep_duration_spinbox, 3, 2, 1, 1)
        self.label = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.volume_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.volume_slider.setMaximum(10)
        self.volume_slider.setProperty("value", 0)
        self.volume_slider.setOrientation(QtCore.Qt.Horizontal)
        self.volume_slider.setObjectName("volume_slider")
        self.gridLayout.addWidget(self.volume_slider, 1, 1, 1, 1)
        self.frequency_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.frequency_slider.setMinimum(50)
        self.frequency_slider.setMaximum(15000)
        self.frequency_slider.setProperty("value", 1000)
        self.frequency_slider.setOrientation(QtCore.Qt.Horizontal)
        self.frequency_slider.setObjectName("frequency_slider")
        self.gridLayout.addWidget(self.frequency_slider, 0, 1, 1, 1)
        self.frequency_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.frequency_spinbox.setMinimum(50)
        self.frequency_spinbox.setMaximum(15000)
        self.frequency_spinbox.setProperty("value", 1000)
        self.frequency_spinbox.setObjectName("frequency_spinbox")
        self.gridLayout.addWidget(self.frequency_spinbox, 0, 2, 1, 1)
        self.volume_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.volume_spinbox.setMaximum(10)
        self.volume_spinbox.setProperty("value", 0)
        self.volume_spinbox.setObjectName("volume_spinbox")
        self.gridLayout.addWidget(self.volume_spinbox, 1, 2, 1, 1)
        self.beep_duration_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.beep_duration_slider.setMinimum(1)
        self.beep_duration_slider.setMaximum(10000)
        self.beep_duration_slider.setProperty("value", 1000)
        self.beep_duration_slider.setOrientation(QtCore.Qt.Horizontal)
        self.beep_duration_slider.setObjectName("beep_duration_slider")
        self.gridLayout.addWidget(self.beep_duration_slider, 3, 1, 1, 1)
        self.alarm_duration_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.alarm_duration_slider.setMinimum(1)
        self.alarm_duration_slider.setMaximum(10000)
        self.alarm_duration_slider.setProperty("value", 5000)
        self.alarm_duration_slider.setOrientation(QtCore.Qt.Horizontal)
        self.alarm_duration_slider.setObjectName("alarm_duration_slider")
        self.gridLayout.addWidget(self.alarm_duration_slider, 6, 1, 1, 1)
        self.line = QtWidgets.QFrame(PiezoSpeakerV2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 2, 0, 1, 3)
        self.line_2 = QtWidgets.QFrame(PiezoSpeakerV2)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 5, 0, 1, 3)
        self.label_7 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 9, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 8, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 7, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 10, 0, 1, 1)
        self.alarm_end_frequency_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.alarm_end_frequency_spinbox.setMinimum(51)
        self.alarm_end_frequency_spinbox.setMaximum(15000)
        self.alarm_end_frequency_spinbox.setProperty("value", 2000)
        self.alarm_end_frequency_spinbox.setObjectName("alarm_end_frequency_spinbox")
        self.gridLayout.addWidget(self.alarm_end_frequency_spinbox, 8, 2, 1, 1)
        self.alarm_duration_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.alarm_duration_spinbox.setMinimum(1)
        self.alarm_duration_spinbox.setMaximum(10000)
        self.alarm_duration_spinbox.setProperty("value", 5000)
        self.alarm_duration_spinbox.setObjectName("alarm_duration_spinbox")
        self.gridLayout.addWidget(self.alarm_duration_spinbox, 6, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(PiezoSpeakerV2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 6, 0, 1, 1)
        self.alarm_step_size_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.alarm_step_size_slider.setMinimum(1)
        self.alarm_step_size_slider.setMaximum(100)
        self.alarm_step_size_slider.setProperty("value", 10)
        self.alarm_step_size_slider.setOrientation(QtCore.Qt.Horizontal)
        self.alarm_step_size_slider.setObjectName("alarm_step_size_slider")
        self.gridLayout.addWidget(self.alarm_step_size_slider, 9, 1, 1, 1)
        self.alarm_step_delay_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.alarm_step_delay_spinbox.setMinimum(1)
        self.alarm_step_delay_spinbox.setMaximum(100)
        self.alarm_step_delay_spinbox.setObjectName("alarm_step_delay_spinbox")
        self.gridLayout.addWidget(self.alarm_step_delay_spinbox, 10, 2, 1, 1)
        self.alarm_step_size_spinbox = QtWidgets.QSpinBox(PiezoSpeakerV2)
        self.alarm_step_size_spinbox.setMinimum(1)
        self.alarm_step_size_spinbox.setMaximum(100)
        self.alarm_step_size_spinbox.setProperty("value", 10)
        self.alarm_step_size_spinbox.setObjectName("alarm_step_size_spinbox")
        self.gridLayout.addWidget(self.alarm_step_size_spinbox, 9, 2, 1, 1)
        self.alarm_step_delay_slider = QtWidgets.QSlider(PiezoSpeakerV2)
        self.alarm_step_delay_slider.setMinimum(1)
        self.alarm_step_delay_slider.setMaximum(100)
        self.alarm_step_delay_slider.setOrientation(QtCore.Qt.Horizontal)
        self.alarm_step_delay_slider.setObjectName("alarm_step_delay_slider")
        self.gridLayout.addWidget(self.alarm_step_delay_slider, 10, 1, 1, 1)
        self.alarm_button = QtWidgets.QPushButton(PiezoSpeakerV2)
        self.alarm_button.setObjectName("alarm_button")
        self.gridLayout.addWidget(self.alarm_button, 11, 0, 1, 3)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(PiezoSpeakerV2)
        QtCore.QMetaObject.connectSlotsByName(PiezoSpeakerV2)

    def retranslateUi(self, PiezoSpeakerV2):
        _translate = QtCore.QCoreApplication.translate
        PiezoSpeakerV2.setWindowTitle(_translate("PiezoSpeakerV2", "Form"))
        self.beep_button.setText(_translate("PiezoSpeakerV2", "Play Beep"))
        self.label.setText(_translate("PiezoSpeakerV2", "Frequency [Hz]:"))
        self.label_2.setText(_translate("PiezoSpeakerV2", "Volume (0 - 10):"))
        self.label_3.setText(_translate("PiezoSpeakerV2", "Beep Duration [ms]:"))
        self.label_7.setText(_translate("PiezoSpeakerV2", "Alarm Step Size [Hz]:"))
        self.label_6.setText(_translate("PiezoSpeakerV2", "Alarm End Frequency [Hz]:"))
        self.label_5.setText(_translate("PiezoSpeakerV2", "Alarm Start Frequency [Hz]:"))
        self.label_8.setText(_translate("PiezoSpeakerV2", "Alarm Step Delay [ms]:"))
        self.label_4.setText(_translate("PiezoSpeakerV2", "Alarm Duration [ms]:"))
        self.alarm_button.setText(_translate("PiezoSpeakerV2", "Play Alarm"))
