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


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_Spectroscopy(object):
    def setupUi(self, Spectroscopy):
        Spectroscopy.setObjectName("Spectroscopy")
        Spectroscopy.resize(1371, 382)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(Spectroscopy)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.tabWidget = QtWidgets.QTabWidget(parent=Spectroscopy)
        self.tabWidget.setObjectName("tabWidget")
        self.measTab = QtWidgets.QWidget()
        self.measTab.setObjectName("measTab")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.measTab)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.startButton = QtWidgets.QPushButton(parent=self.measTab)
        self.startButton.setObjectName("startButton")
        self.horizontalLayout_2.addWidget(self.startButton)
        self.stopButton = QtWidgets.QPushButton(parent=self.measTab)
        self.stopButton.setObjectName("stopButton")
        self.horizontalLayout_2.addWidget(self.stopButton)
        self.saveButton = QtWidgets.QPushButton(parent=self.measTab)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout_2.addWidget(self.saveButton)
        self.exportButton = QtWidgets.QPushButton(parent=self.measTab)
        self.exportButton.setObjectName("exportButton")
        self.horizontalLayout_2.addWidget(self.exportButton)
        self.loadButton = QtWidgets.QPushButton(parent=self.measTab)
        self.loadButton.setObjectName("loadButton")
        self.horizontalLayout_2.addWidget(self.loadButton)
        self.saveconfocalBox = QtWidgets.QCheckBox(parent=self.measTab)
        self.saveconfocalBox.setObjectName("saveconfocalBox")
        self.horizontalLayout_2.addWidget(self.saveconfocalBox)
        self.temp_label = QtWidgets.QLabel(parent=self.measTab)
        self.temp_label.setObjectName("temp_label")
        self.horizontalLayout_2.addWidget(self.temp_label)
        spacerItem = QtWidgets.QSpacerItem(100, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.exposuresBox = QtWidgets.QSpinBox(parent=self.measTab)
        self.exposuresBox.setMinimum(1)
        self.exposuresBox.setMaximum(999)
        self.exposuresBox.setObjectName("exposuresBox")
        self.gridLayout.addWidget(self.exposuresBox, 3, 2, 1, 1)
        self.exposuretimeBox = QtWidgets.QDoubleSpinBox(parent=self.measTab)
        self.exposuretimeBox.setMinimum(1.0)
        self.exposuretimeBox.setMaximum(100000.0)
        self.exposuretimeBox.setSingleStep(100.0)
        self.exposuretimeBox.setProperty("value", 100.0)
        self.exposuretimeBox.setObjectName("exposuretimeBox")
        self.gridLayout.addWidget(self.exposuretimeBox, 3, 1, 1, 1)
        self.centerBox = QtWidgets.QDoubleSpinBox(parent=self.measTab)
        self.centerBox.setMinimum(100.0)
        self.centerBox.setMaximum(2000.0)
        self.centerBox.setSingleStep(10.0)
        self.centerBox.setProperty("value", 600.0)
        self.centerBox.setObjectName("centerBox")
        self.gridLayout.addWidget(self.centerBox, 3, 0, 1, 1)
        self.baseconfBox = QtWidgets.QComboBox(parent=self.measTab)
        self.baseconfBox.setObjectName("baseconfBox")
        self.gridLayout.addWidget(self.baseconfBox, 2, 0, 1, 1)
        self.acquisitionsBox = QtWidgets.QSpinBox(parent=self.measTab)
        self.acquisitionsBox.setMinimum(0)
        self.acquisitionsBox.setMaximum(99999)
        self.acquisitionsBox.setProperty("value", 0)
        self.acquisitionsBox.setObjectName("acquisitionsBox")
        self.gridLayout.addWidget(self.acquisitionsBox, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.tabWidget.addTab(self.measTab, "")
        self.fiTab = QtWidgets.QWidget()
        self.fiTab.setObjectName("fiTab")
        self.tabWidget.addTab(self.fiTab, "")
        self.verticalLayout_2.addWidget(self.tabWidget)

        self.retranslateUi(Spectroscopy)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Spectroscopy)
        Spectroscopy.setTabOrder(self.tabWidget, self.startButton)
        Spectroscopy.setTabOrder(self.startButton, self.stopButton)
        Spectroscopy.setTabOrder(self.stopButton, self.saveButton)
        Spectroscopy.setTabOrder(self.saveButton, self.loadButton)
        Spectroscopy.setTabOrder(self.loadButton, self.saveconfocalBox)
        Spectroscopy.setTabOrder(self.saveconfocalBox, self.baseconfBox)
        Spectroscopy.setTabOrder(self.baseconfBox, self.acquisitionsBox)
        Spectroscopy.setTabOrder(self.acquisitionsBox, self.centerBox)
        Spectroscopy.setTabOrder(self.centerBox, self.exposuretimeBox)
        Spectroscopy.setTabOrder(self.exposuretimeBox, self.exposuresBox)

    def retranslateUi(self, Spectroscopy):
        _translate = QtCore.QCoreApplication.translate
        Spectroscopy.setWindowTitle(_translate("Spectroscopy", "Spectroscopy"))
        self.startButton.setText(_translate("Spectroscopy", "Start"))
        self.stopButton.setText(_translate("Spectroscopy", "Stop"))
        self.saveButton.setText(_translate("Spectroscopy", "Save"))
        self.exportButton.setText(_translate("Spectroscopy", "Export"))
        self.loadButton.setText(_translate("Spectroscopy", "Load"))
        self.saveconfocalBox.setText(_translate("Spectroscopy", "Save confocal position"))
        self.temp_label.setText(_translate("Spectroscopy", "Detector temperature: "))
        self.exposuresBox.setPrefix(_translate("Spectroscopy", "Exposures per acquisition: "))
        self.exposuretimeBox.setPrefix(_translate("Spectroscopy", "Exposure time: "))
        self.exposuretimeBox.setSuffix(_translate("Spectroscopy", " ms"))
        self.centerBox.setPrefix(_translate("Spectroscopy", "Center wavelength: "))
        self.centerBox.setSuffix(_translate("Spectroscopy", " nm"))
        self.acquisitionsBox.setSuffix(_translate("Spectroscopy", " acquisitions (0 for inf)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.measTab), _translate("Spectroscopy", "Main"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.fiTab), _translate("Spectroscopy", "Fit"))
