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

# Form implementation generated from reading ui file 'C:\Users\Hossein\PycharmProjects\qtdesigner\behinesazan\gas\station\software\view\Run\ui\Run.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(520, 233)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icon/heater.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.cancelButton = QtWidgets.QPushButton(Form)
        self.cancelButton.setObjectName("cancelButton")
        self.horizontalLayout.addWidget(self.cancelButton)
        self.clearButton = QtWidgets.QPushButton(Form)
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.okButton = QtWidgets.QPushButton(Form)
        self.okButton.setObjectName("okButton")
        self.horizontalLayout.addWidget(self.okButton)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_2.addLayout(self.horizontalLayout, 3, 0, 1, 1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.outer_diameter_comboBox = QtWidgets.QComboBox(Form)
        self.outer_diameter_comboBox.setObjectName("outer_diameter_comboBox")
        self.gridLayout.addWidget(self.outer_diameter_comboBox, 3, 1, 1, 1)
        self.thickness_comboBox = QtWidgets.QComboBox(Form)
        self.thickness_comboBox.setObjectName("thickness_comboBox")
        self.gridLayout.addWidget(self.thickness_comboBox, 3, 0, 1, 1)
        self.nominal_diameter_comboBox = QtWidgets.QComboBox(Form)
        self.nominal_diameter_comboBox.setObjectName("nominal_diameter_comboBox")
        self.gridLayout.addWidget(self.nominal_diameter_comboBox, 3, 2, 1, 1)
        self.run_length_input = QtWidgets.QLineEdit(Form)
        self.run_length_input.setText("")
        self.run_length_input.setObjectName("run_length_input")
        self.gridLayout.addWidget(self.run_length_input, 1, 4, 1, 1)
        self.run_width_label = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.run_width_label.setFont(font)
        self.run_width_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.run_width_label.setObjectName("run_width_label")
        self.gridLayout.addWidget(self.run_width_label, 1, 3, 1, 1)
        self.run_input_number = QtWidgets.QLineEdit(Form)
        self.run_input_number.setInputMethodHints(QtCore.Qt.ImhDigitsOnly|QtCore.Qt.ImhPreferNumbers|QtCore.Qt.ImhTime)
        self.run_input_number.setMaxLength(120)
        self.run_input_number.setObjectName("run_input_number")
        self.gridLayout.addWidget(self.run_input_number, 0, 4, 1, 1)
        self.label_3 = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 2, 1, 1)
        self.run_number_label = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.run_number_label.setFont(font)
        self.run_number_label.setObjectName("run_number_label")
        self.gridLayout.addWidget(self.run_number_label, 0, 5, 1, 1)
        self.inch_radioButton = QtWidgets.QRadioButton(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.inch_radioButton.setFont(font)
        self.inch_radioButton.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.inch_radioButton.setObjectName("inch_radioButton")
        self.gridLayout.addWidget(self.inch_radioButton, 3, 3, 1, 1)
        self.mm_radioButton = QtWidgets.QRadioButton(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.mm_radioButton.setFont(font)
        self.mm_radioButton.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.mm_radioButton.setChecked(True)
        self.mm_radioButton.setObjectName("mm_radioButton")
        self.gridLayout.addWidget(self.mm_radioButton, 3, 5, 1, 1)
        self.debi_label = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.debi_label.setFont(font)
        self.debi_label.setObjectName("debi_label")
        self.gridLayout.addWidget(self.debi_label, 0, 3, 1, 1)
        self.debi_input = QtWidgets.QLineEdit(Form)
        self.debi_input.setObjectName("debi_input")
        self.gridLayout.addWidget(self.debi_input, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 5, 1, 1)
        self.label_5 = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 2, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 1)
        self.run_length_label = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.run_length_label.setFont(font)
        self.run_length_label.setObjectName("run_length_label")
        self.gridLayout.addWidget(self.run_length_label, 1, 5, 1, 1)
        self.run_number_comboBox = QtWidgets.QComboBox(Form)
        font = QtGui.QFont()
        font.setFamily("B Mitra")
        font.setBold(True)
        font.setWeight(75)
        self.run_number_comboBox.setFont(font)
        self.run_number_comboBox.setObjectName("run_number_comboBox")
        self.gridLayout.addWidget(self.run_number_comboBox, 0, 2, 1, 1)
        self.run_width_input = QtWidgets.QLineEdit(Form)
        self.run_width_input.setObjectName("run_width_input")
        self.gridLayout.addWidget(self.run_width_input, 1, 2, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 0, 0, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_3)

        self.retranslateUi(Form)
        self.clearButton.clicked.connect(self.run_input_number.clear)
        self.clearButton.clicked.connect(self.run_length_input.clear)
        self.clearButton.clicked.connect(self.run_number_comboBox.clear)
        self.clearButton.clicked.connect(self.debi_input.clear)
        self.clearButton.clicked.connect(self.run_width_input.clear)
        self.clearButton.clicked.connect(self.mm_radioButton.toggle)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.run_input_number, self.run_number_comboBox)
        Form.setTabOrder(self.run_number_comboBox, self.debi_input)
        Form.setTabOrder(self.debi_input, self.run_length_input)
        Form.setTabOrder(self.run_length_input, self.run_width_input)
        Form.setTabOrder(self.run_width_input, self.mm_radioButton)
        Form.setTabOrder(self.mm_radioButton, self.inch_radioButton)
        Form.setTabOrder(self.inch_radioButton, self.nominal_diameter_comboBox)
        Form.setTabOrder(self.nominal_diameter_comboBox, self.outer_diameter_comboBox)
        Form.setTabOrder(self.outer_diameter_comboBox, self.thickness_comboBox)
        Form.setTabOrder(self.thickness_comboBox, self.okButton)
        Form.setTabOrder(self.okButton, self.cancelButton)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "اطلاعات ران ایستگاه تقلیل فشار گاز"))
        self.cancelButton.setText(_translate("Form", "Cancel"))
        self.clearButton.setText(_translate("Form", "Clear"))
        self.okButton.setText(_translate("Form", "Ok"))
        self.run_width_label.setText(_translate("Form", "طول کلکتور (m):"))
        self.run_input_number.setToolTip(_translate("Form", "<html><head/><body><p>تعداد ران ها (بیشینه 10)</p></body></html>"))
        self.label_3.setText(_translate("Form", "قطر اسمی:"))
        self.run_number_label.setText(_translate("Form", "تعداد ران:"))
        self.inch_radioButton.setText(_translate("Form", "اینچ"))
        self.mm_radioButton.setText(_translate("Form", "میلی متر"))
        self.debi_label.setText(_translate("Form", "دبی عبوری متر مکعب بر ساعت:"))
        self.label_2.setText(_translate("Form", "سایز لوله:"))
        self.label_5.setText(_translate("Form", "قطر خارجی:"))
        self.label_6.setText(_translate("Form", "ضخامت دیواره:"))
        self.run_length_label.setText(_translate("Form", "طول ران (m):"))

import svgfile_rc

if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Form = QtWidgets.QWidget()
    ui = Ui_Form()
    ui.setupUi(Form)
    Form.show()
    sys.exit(app.exec_())

