프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

hytos / HYTOS / HYTOS / Coil_UI.py @ e534f39d

이력 | 보기 | 이력해설 | 다운로드 (5.92 KB)

1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file '.\UI\Coil.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.13.0
6
#
7
# WARNING! All changes made in this file will be lost!
8

    
9

    
10
from PyQt5 import QtCore, QtGui, QtWidgets
11

    
12

    
13
class Ui_CoilDialog(object):
14
    def setupUi(self, CoilDialog):
15
        CoilDialog.setObjectName("CoilDialog")
16
        CoilDialog.resize(339, 177)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        CoilDialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        CoilDialog.setWindowIcon(icon)
23
        self.groupBox = QtWidgets.QGroupBox(CoilDialog)
24
        self.groupBox.setGeometry(QtCore.QRect(9, 9, 321, 125))
25
        font = QtGui.QFont()
26
        font.setFamily("맑은 고딕")
27
        font.setBold(True)
28
        font.setWeight(75)
29
        self.groupBox.setFont(font)
30
        self.groupBox.setObjectName("groupBox")
31
        self.label = QtWidgets.QLabel(self.groupBox)
32
        self.label.setGeometry(QtCore.QRect(76, 30, 80, 16))
33
        self.label.setMinimumSize(QtCore.QSize(80, 0))
34
        font = QtGui.QFont()
35
        font.setBold(False)
36
        font.setWeight(50)
37
        self.label.setFont(font)
38
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
39
        self.label.setObjectName("label")
40
        self.label_Img = QtWidgets.QLabel(self.groupBox)
41
        self.label_Img.setGeometry(QtCore.QRect(11, 36, 88, 61))
42
        self.label_Img.setObjectName("label_Img")
43
        self.lineEdit_TagNo = QtWidgets.QLineEdit(self.groupBox)
44
        self.lineEdit_TagNo.setGeometry(QtCore.QRect(162, 30, 100, 21))
45
        self.lineEdit_TagNo.setMaximumSize(QtCore.QSize(100, 16777215))
46
        font = QtGui.QFont()
47
        font.setBold(False)
48
        font.setWeight(50)
49
        self.lineEdit_TagNo.setFont(font)
50
        self.lineEdit_TagNo.setAlignment(QtCore.Qt.AlignCenter)
51
        self.lineEdit_TagNo.setObjectName("lineEdit_TagNo")
52
        self.label_3 = QtWidgets.QLabel(self.groupBox)
53
        self.label_3.setGeometry(QtCore.QRect(76, 59, 80, 16))
54
        self.label_3.setMinimumSize(QtCore.QSize(80, 0))
55
        font = QtGui.QFont()
56
        font.setBold(False)
57
        font.setWeight(50)
58
        self.label_3.setFont(font)
59
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
60
        self.label_3.setObjectName("label_3")
61
        self.lineEdit_Pressure = QtWidgets.QLineEdit(self.groupBox)
62
        self.lineEdit_Pressure.setGeometry(QtCore.QRect(162, 59, 100, 21))
63
        self.lineEdit_Pressure.setMaximumSize(QtCore.QSize(100, 16777215))
64
        font = QtGui.QFont()
65
        font.setBold(False)
66
        font.setWeight(50)
67
        self.lineEdit_Pressure.setFont(font)
68
        self.lineEdit_Pressure.setAlignment(QtCore.Qt.AlignCenter)
69
        self.lineEdit_Pressure.setObjectName("lineEdit_Pressure")
70
        self.label_PressureUnit = QtWidgets.QLabel(self.groupBox)
71
        self.label_PressureUnit.setGeometry(QtCore.QRect(268, 59, 49, 16))
72
        font = QtGui.QFont()
73
        font.setBold(False)
74
        font.setWeight(50)
75
        self.label_PressureUnit.setFont(font)
76
        self.label_PressureUnit.setObjectName("label_PressureUnit")
77
        self.label_5 = QtWidgets.QLabel(self.groupBox)
78
        self.label_5.setGeometry(QtCore.QRect(76, 88, 80, 16))
79
        self.label_5.setMinimumSize(QtCore.QSize(80, 0))
80
        font = QtGui.QFont()
81
        font.setBold(False)
82
        font.setWeight(50)
83
        self.label_5.setFont(font)
84
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
85
        self.label_5.setObjectName("label_5")
86
        self.label_ElevationUnit = QtWidgets.QLabel(self.groupBox)
87
        self.label_ElevationUnit.setGeometry(QtCore.QRect(268, 88, 16, 16))
88
        font = QtGui.QFont()
89
        font.setBold(False)
90
        font.setWeight(50)
91
        self.label_ElevationUnit.setFont(font)
92
        self.label_ElevationUnit.setObjectName("label_ElevationUnit")
93
        self.lineEdit_Elevation = QtWidgets.QLineEdit(self.groupBox)
94
        self.lineEdit_Elevation.setGeometry(QtCore.QRect(162, 88, 100, 21))
95
        self.lineEdit_Elevation.setMaximumSize(QtCore.QSize(100, 16777215))
96
        font = QtGui.QFont()
97
        font.setBold(False)
98
        font.setWeight(50)
99
        self.lineEdit_Elevation.setFont(font)
100
        self.lineEdit_Elevation.setAlignment(QtCore.Qt.AlignCenter)
101
        self.lineEdit_Elevation.setObjectName("lineEdit_Elevation")
102
        self.buttonBox = QtWidgets.QDialogButtonBox(CoilDialog)
103
        self.buttonBox.setGeometry(QtCore.QRect(172, 144, 156, 23))
104
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
105
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
106
        self.buttonBox.setObjectName("buttonBox")
107

    
108
        self.retranslateUi(CoilDialog)
109
        self.buttonBox.accepted.connect(CoilDialog.accept)
110
        self.buttonBox.rejected.connect(CoilDialog.reject)
111
        QtCore.QMetaObject.connectSlotsByName(CoilDialog)
112
        CoilDialog.setTabOrder(self.lineEdit_TagNo, self.lineEdit_Pressure)
113
        CoilDialog.setTabOrder(self.lineEdit_Pressure, self.lineEdit_Elevation)
114

    
115
    def retranslateUi(self, CoilDialog):
116
        _translate = QtCore.QCoreApplication.translate
117
        CoilDialog.setWindowTitle(_translate("CoilDialog", "HYTOS Equipment Data - Coil"))
118
        self.groupBox.setTitle(_translate("CoilDialog", "Equipment Figure"))
119
        self.label.setText(_translate("CoilDialog", "Tag No."))
120
        self.label_Img.setText(_translate("CoilDialog", "<html><head/><body><p><img src=\":/images/Coil.png\"/></p></body></html>"))
121
        self.label_3.setText(_translate("CoilDialog", "P. Drop"))
122
        self.label_PressureUnit.setText(_translate("CoilDialog", "-"))
123
        self.label_5.setText(_translate("CoilDialog", "Elevation"))
124
        self.label_ElevationUnit.setText(_translate("CoilDialog", "-"))
125
import Resource_rc
클립보드 이미지 추가 (최대 크기: 500 MB)