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

# Form implementation generated from reading ui file 'brickv/ui/plotscaleconfig.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_PlotScaleConfig(object):
    def setupUi(self, PlotScaleConfig):
        PlotScaleConfig.setObjectName("PlotScaleConfig")
        PlotScaleConfig.resize(378, 304)
        self.verticalLayout = QtWidgets.QVBoxLayout(PlotScaleConfig)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_x_scale_length = QtWidgets.QLabel(PlotScaleConfig)
        self.label_x_scale_length.setObjectName("label_x_scale_length")
        self.gridLayout.addWidget(self.label_x_scale_length, 6, 0, 1, 1)
        self.spin_y_scale_max = QtWidgets.QDoubleSpinBox(PlotScaleConfig)
        self.spin_y_scale_max.setMinimum(-999999.0)
        self.spin_y_scale_max.setMaximum(999999.0)
        self.spin_y_scale_max.setObjectName("spin_y_scale_max")
        self.gridLayout.addWidget(self.spin_y_scale_max, 2, 1, 1, 1)
        self.label_y_scale_title = QtWidgets.QLabel(PlotScaleConfig)
        self.label_y_scale_title.setObjectName("label_y_scale_title")
        self.gridLayout.addWidget(self.label_y_scale_title, 0, 0, 1, 2)
        self.spin_y_scale_min = QtWidgets.QDoubleSpinBox(PlotScaleConfig)
        self.spin_y_scale_min.setMinimum(-999999.0)
        self.spin_y_scale_min.setMaximum(999999.0)
        self.spin_y_scale_min.setObjectName("spin_y_scale_min")
        self.gridLayout.addWidget(self.spin_y_scale_min, 3, 1, 1, 1)
        self.label_x_scale_title = QtWidgets.QLabel(PlotScaleConfig)
        self.label_x_scale_title.setObjectName("label_x_scale_title")
        self.gridLayout.addWidget(self.label_x_scale_title, 5, 0, 1, 2)
        self.button_close = QtWidgets.QPushButton(PlotScaleConfig)
        self.button_close.setObjectName("button_close")
        self.gridLayout.addWidget(self.button_close, 8, 0, 1, 2)
        self.check_automatic_scaling = QtWidgets.QCheckBox(PlotScaleConfig)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.check_automatic_scaling.sizePolicy().hasHeightForWidth())
        self.check_automatic_scaling.setSizePolicy(sizePolicy)
        self.check_automatic_scaling.setText("")
        self.check_automatic_scaling.setObjectName("check_automatic_scaling")
        self.gridLayout.addWidget(self.check_automatic_scaling, 1, 1, 1, 1)
        self.label_y_scale_min = QtWidgets.QLabel(PlotScaleConfig)
        self.label_y_scale_min.setObjectName("label_y_scale_min")
        self.gridLayout.addWidget(self.label_y_scale_min, 3, 0, 1, 1)
        self.line = QtWidgets.QFrame(PlotScaleConfig)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 4, 0, 1, 2)
        self.spin_x_scale_length = QtWidgets.QSpinBox(PlotScaleConfig)
        self.spin_x_scale_length.setMinimum(20)
        self.spin_x_scale_length.setMaximum(240)
        self.spin_x_scale_length.setObjectName("spin_x_scale_length")
        self.gridLayout.addWidget(self.spin_x_scale_length, 6, 1, 1, 1)
        self.label_automatic_scaling = QtWidgets.QLabel(PlotScaleConfig)
        self.label_automatic_scaling.setObjectName("label_automatic_scaling")
        self.gridLayout.addWidget(self.label_automatic_scaling, 1, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 0, 1, 2)
        self.label_y_scale_max = QtWidgets.QLabel(PlotScaleConfig)
        self.label_y_scale_max.setObjectName("label_y_scale_max")
        self.gridLayout.addWidget(self.label_y_scale_max, 2, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)

        self.retranslateUi(PlotScaleConfig)
        QtCore.QMetaObject.connectSlotsByName(PlotScaleConfig)
        PlotScaleConfig.setTabOrder(self.check_automatic_scaling, self.spin_y_scale_max)
        PlotScaleConfig.setTabOrder(self.spin_y_scale_max, self.spin_y_scale_min)
        PlotScaleConfig.setTabOrder(self.spin_y_scale_min, self.spin_x_scale_length)
        PlotScaleConfig.setTabOrder(self.spin_x_scale_length, self.button_close)

    def retranslateUi(self, PlotScaleConfig):
        _translate = QtCore.QCoreApplication.translate
        PlotScaleConfig.setWindowTitle(_translate("PlotScaleConfig", "Edit Scales"))
        self.label_x_scale_length.setText(_translate("PlotScaleConfig", "Length:"))
        self.label_y_scale_title.setText(_translate("PlotScaleConfig", "<y-scale-title>"))
        self.label_x_scale_title.setText(_translate("PlotScaleConfig", "<x-scale-title>"))
        self.button_close.setText(_translate("PlotScaleConfig", "Close"))
        self.label_y_scale_min.setText(_translate("PlotScaleConfig", "Minimum Value:"))
        self.label_automatic_scaling.setText(_translate("PlotScaleConfig", "Automatic Scaling:"))
        self.label_y_scale_max.setText(_translate("PlotScaleConfig", "Maximum Value:"))
