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

# Form implementation generated from reading ui file 'Counter.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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.setProperty("modal", False)
        Form.resize(948, 606)
        font = QtGui.QFont()
        font.setPointSize(9)
        Form.setFont(font)
        Form.setAutoFillBackground(True)
        Form.setProperty("sizeGripEnabled", True)
        self.horizontalLayout = QtWidgets.QHBoxLayout(Form)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.splitter = QtWidgets.QSplitter(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setStyleSheet("QSplitter::handle { background-color: #772820; }")
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setHandleWidth(10)
        self.splitter.setObjectName("splitter")
        self.frame_2 = QtWidgets.QFrame(self.splitter)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.frame_2)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.frame_3 = QtWidgets.QFrame(self.frame_2)
        self.frame_3.setMinimumSize(QtCore.QSize(100, 100))
        self.frame_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.gaugeLayout = QtWidgets.QHBoxLayout(self.frame_3)
        self.gaugeLayout.setContentsMargins(3, 3, 3, 3)
        self.gaugeLayout.setSpacing(2)
        self.gaugeLayout.setObjectName("gaugeLayout")
        self.verticalLayout.addWidget(self.frame_3)
        self.frame_5 = QtWidgets.QFrame(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth())
        self.frame_5.setSizePolicy(sizePolicy)
        self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_5.setObjectName("frame_5")
        self.gridLayout = QtWidgets.QGridLayout(self.frame_5)
        self.gridLayout.setObjectName("gridLayout")
        self.startButton = QtWidgets.QPushButton(self.frame_5)
        self.startButton.setMinimumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.startButton.setFont(font)
        self.startButton.setObjectName("startButton")
        self.gridLayout.addWidget(self.startButton, 0, 0, 1, 1)
        self.inputSelector = QtWidgets.QComboBox(self.frame_5)
        self.inputSelector.setMinimumSize(QtCore.QSize(50, 50))
        self.inputSelector.setObjectName("inputSelector")
        self.inputSelector.addItem("")
        self.inputSelector.addItem("")
        self.gridLayout.addWidget(self.inputSelector, 1, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(50, 0))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.stopButton = QtWidgets.QPushButton(self.frame_5)
        self.stopButton.setMinimumSize(QtCore.QSize(50, 50))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.stopButton.setFont(font)
        self.stopButton.setObjectName("stopButton")
        self.gridLayout.addWidget(self.stopButton, 0, 1, 1, 1)
        self.sqr1_label = QtWidgets.QLabel(self.frame_5)
        self.sqr1_label.setObjectName("sqr1_label")
        self.gridLayout.addWidget(self.sqr1_label, 2, 0, 1, 1)
        self.sqr1_freq = QtWidgets.QSpinBox(self.frame_5)
        self.sqr1_freq.setMaximum(100000)
        self.sqr1_freq.setObjectName("sqr1_freq")
        self.gridLayout.addWidget(self.sqr1_freq, 2, 1, 1, 1)
        self.verticalLayout.addWidget(self.frame_5)
        self.frame = QtWidgets.QFrame(self.splitter)
        self.frame.setMinimumSize(QtCore.QSize(200, 0))
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.graphsLayout = QtWidgets.QVBoxLayout(self.frame)
        self.graphsLayout.setContentsMargins(0, 0, 0, 0)
        self.graphsLayout.setSpacing(0)
        self.graphsLayout.setObjectName("graphsLayout")
        self.plotLayout = GraphicsLayoutWidget(self.frame)
        self.plotLayout.setObjectName("plotLayout")
        self.graphsLayout.addWidget(self.plotLayout)
        self.horizontalLayout.addWidget(self.splitter)

        self.retranslateUi(Form)
        self.startButton.clicked.connect(Form.startCounter) # type: ignore
        self.stopButton.clicked.connect(Form.pauseCounter) # type: ignore
        self.inputSelector.currentIndexChanged['int'].connect(Form.setInput) # type: ignore
        self.sqr1_freq.editingFinished.connect(Form.set_sqr1) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Configure Axis"))
        self.startButton.setText(_translate("Form", "Re-START"))
        self.inputSelector.setItemText(0, _translate("Form", "SEN"))
        self.inputSelector.setItemText(1, _translate("Form", "IN2"))
        self.label.setText(_translate("Form", "INPUT"))
        self.stopButton.setText(_translate("Form", "PAUSE"))
        self.sqr1_label.setText(_translate("Form", "SQR1 Frequency ( 0 = ALWAYS ON) :"))
from pyqtgraph import GraphicsLayoutWidget
from . import res_rc
