# Form implementation generated from reading ui file 'camera.ui'
#
# Created by: PyQt6 UI code generator 6.5.2
#
# 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_Camera(object):
    def setupUi(self, Camera):
        Camera.setObjectName("Camera")
        Camera.resize(1478, 75)
        self.verticalLayout = QtWidgets.QVBoxLayout(Camera)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.startButton = QtWidgets.QPushButton(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.startButton.sizePolicy().hasHeightForWidth())
        self.startButton.setSizePolicy(sizePolicy)
        self.startButton.setObjectName("startButton")
        self.horizontalLayout.addWidget(self.startButton)
        self.stopButton = QtWidgets.QPushButton(parent=Camera)
        self.stopButton.setObjectName("stopButton")
        self.horizontalLayout.addWidget(self.stopButton)
        self.saveButton = QtWidgets.QPushButton(parent=Camera)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout.addWidget(self.saveButton)
        self.loadButton = QtWidgets.QPushButton(parent=Camera)
        self.loadButton.setObjectName("loadButton")
        self.horizontalLayout.addWidget(self.loadButton)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.exposuretimeBox = QtWidgets.QDoubleSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exposuretimeBox.sizePolicy().hasHeightForWidth())
        self.exposuretimeBox.setSizePolicy(sizePolicy)
        self.exposuretimeBox.setDecimals(3)
        self.exposuretimeBox.setMinimum(0.001)
        self.exposuretimeBox.setMaximum(10000.0)
        self.exposuretimeBox.setProperty("value", 10.0)
        self.exposuretimeBox.setObjectName("exposuretimeBox")
        self.horizontalLayout_3.addWidget(self.exposuretimeBox)
        self.framerateenableBox = QtWidgets.QCheckBox(parent=Camera)
        self.framerateenableBox.setObjectName("framerateenableBox")
        self.horizontalLayout_3.addWidget(self.framerateenableBox)
        self.framerateBox = QtWidgets.QDoubleSpinBox(parent=Camera)
        self.framerateBox.setDecimals(1)
        self.framerateBox.setObjectName("framerateBox")
        self.horizontalLayout_3.addWidget(self.framerateBox)
        self.fpsLabel = QtWidgets.QLabel(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fpsLabel.sizePolicy().hasHeightForWidth())
        self.fpsLabel.setSizePolicy(sizePolicy)
        self.fpsLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.fpsLabel.setObjectName("fpsLabel")
        self.horizontalLayout_3.addWidget(self.fpsLabel)
        self.binningBox = QtWidgets.QSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.binningBox.sizePolicy().hasHeightForWidth())
        self.binningBox.setSizePolicy(sizePolicy)
        self.binningBox.setMinimum(0)
        self.binningBox.setMaximum(4)
        self.binningBox.setProperty("value", 1)
        self.binningBox.setObjectName("binningBox")
        self.horizontalLayout_3.addWidget(self.binningBox)
        self.roiBox = QtWidgets.QCheckBox(parent=Camera)
        self.roiBox.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.roiBox.setObjectName("roiBox")
        self.horizontalLayout_3.addWidget(self.roiBox)
        self.woffsetBox = QtWidgets.QSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.woffsetBox.sizePolicy().hasHeightForWidth())
        self.woffsetBox.setSizePolicy(sizePolicy)
        self.woffsetBox.setSuffix("")
        self.woffsetBox.setMaximum(1920)
        self.woffsetBox.setObjectName("woffsetBox")
        self.horizontalLayout_3.addWidget(self.woffsetBox)
        self.widthBox = QtWidgets.QSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widthBox.sizePolicy().hasHeightForWidth())
        self.widthBox.setSizePolicy(sizePolicy)
        self.widthBox.setMinimum(10)
        self.widthBox.setMaximum(1920)
        self.widthBox.setProperty("value", 100)
        self.widthBox.setObjectName("widthBox")
        self.horizontalLayout_3.addWidget(self.widthBox)
        self.hoffsetBox = QtWidgets.QSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hoffsetBox.sizePolicy().hasHeightForWidth())
        self.hoffsetBox.setSizePolicy(sizePolicy)
        self.hoffsetBox.setMaximum(1080)
        self.hoffsetBox.setObjectName("hoffsetBox")
        self.horizontalLayout_3.addWidget(self.hoffsetBox)
        self.heightBox = QtWidgets.QSpinBox(parent=Camera)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.heightBox.sizePolicy().hasHeightForWidth())
        self.heightBox.setSizePolicy(sizePolicy)
        self.heightBox.setMinimum(10)
        self.heightBox.setMaximum(1200)
        self.heightBox.setProperty("value", 100)
        self.heightBox.setObjectName("heightBox")
        self.horizontalLayout_3.addWidget(self.heightBox)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.retranslateUi(Camera)
        QtCore.QMetaObject.connectSlotsByName(Camera)
        Camera.setTabOrder(self.startButton, self.stopButton)
        Camera.setTabOrder(self.stopButton, self.saveButton)
        Camera.setTabOrder(self.saveButton, self.loadButton)
        Camera.setTabOrder(self.loadButton, self.exposuretimeBox)
        Camera.setTabOrder(self.exposuretimeBox, self.framerateenableBox)
        Camera.setTabOrder(self.framerateenableBox, self.framerateBox)
        Camera.setTabOrder(self.framerateBox, self.binningBox)
        Camera.setTabOrder(self.binningBox, self.roiBox)
        Camera.setTabOrder(self.roiBox, self.woffsetBox)
        Camera.setTabOrder(self.woffsetBox, self.widthBox)
        Camera.setTabOrder(self.widthBox, self.hoffsetBox)
        Camera.setTabOrder(self.hoffsetBox, self.heightBox)

    def retranslateUi(self, Camera):
        _translate = QtCore.QCoreApplication.translate
        Camera.setWindowTitle(_translate("Camera", "Camera"))
        self.startButton.setText(_translate("Camera", "Start"))
        self.stopButton.setText(_translate("Camera", "Stop"))
        self.saveButton.setText(_translate("Camera", "Save"))
        self.loadButton.setText(_translate("Camera", "Load"))
        self.exposuretimeBox.setPrefix(_translate("Camera", "Exposure time: "))
        self.exposuretimeBox.setSuffix(_translate("Camera", " ms"))
        self.framerateenableBox.setText(_translate("Camera", "limit fps"))
        self.framerateBox.setSuffix(_translate("Camera", " fps"))
        self.fpsLabel.setText(_translate("Camera", " 0.0 fps"))
        self.binningBox.setSuffix(_translate("Camera", " (0 to skip)"))
        self.binningBox.setPrefix(_translate("Camera", "binning: "))
        self.roiBox.setText(_translate("Camera", "Set ROI"))
        self.woffsetBox.setPrefix(_translate("Camera", "w0: "))
        self.widthBox.setPrefix(_translate("Camera", "width: "))
        self.hoffsetBox.setPrefix(_translate("Camera", "h0: "))
        self.heightBox.setPrefix(_translate("Camera", "height: "))
