프로젝트

일반

사용자정보

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

hytos / HYTOS / HYTOS / Kompressor_UI.py @ b56bffce

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

1 59ce627c kim yeonjin
# -*- coding: utf-8 -*-
2
3
# Form implementation generated from reading ui file '.\UI\Kompressor.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_KompressorDialog(object):
14
    def setupUi(self, KompressorDialog):
15
        KompressorDialog.setObjectName("KompressorDialog")
16
        KompressorDialog.resize(494, 184)
17 08955797 kim yeonjin
        KompressorDialog.setMinimumSize(QtCore.QSize(494, 184))
18
        KompressorDialog.setMaximumSize(QtCore.QSize(494, 184))
19 59ce627c kim yeonjin
        font = QtGui.QFont()
20
        font.setFamily("맑은 고딕")
21
        KompressorDialog.setFont(font)
22
        icon = QtGui.QIcon()
23
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
24
        KompressorDialog.setWindowIcon(icon)
25
        self.buttonBox = QtWidgets.QDialogButtonBox(KompressorDialog)
26
        self.buttonBox.setGeometry(QtCore.QRect(328, 154, 157, 23))
27
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
28
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
29
        self.buttonBox.setObjectName("buttonBox")
30
        self.groupBox_2 = QtWidgets.QGroupBox(KompressorDialog)
31
        self.groupBox_2.setGeometry(QtCore.QRect(8, 8, 217, 169))
32
        font = QtGui.QFont()
33
        font.setBold(True)
34
        font.setWeight(75)
35
        self.groupBox_2.setFont(font)
36
        self.groupBox_2.setObjectName("groupBox_2")
37
        self.label_Img = QtWidgets.QLabel(self.groupBox_2)
38
        self.label_Img.setGeometry(QtCore.QRect(76, 96, 73, 57))
39
        self.label_Img.setObjectName("label_Img")
40
        self.label = QtWidgets.QLabel(self.groupBox_2)
41
        self.label.setGeometry(QtCore.QRect(10, 32, 42, 21))
42
        font = QtGui.QFont()
43
        font.setFamily("맑은 고딕")
44
        font.setBold(False)
45
        font.setWeight(50)
46
        self.label.setFont(font)
47
        self.label.setObjectName("label")
48
        self.lineEdit_TagNo = QtWidgets.QLineEdit(self.groupBox_2)
49
        self.lineEdit_TagNo.setGeometry(QtCore.QRect(64, 32, 133, 21))
50
        self.lineEdit_TagNo.setAlignment(QtCore.Qt.AlignCenter)
51
        self.lineEdit_TagNo.setObjectName("lineEdit_TagNo")
52
        self.label_Img_In = QtWidgets.QLabel(self.groupBox_2)
53
        self.label_Img_In.setGeometry(QtCore.QRect(28, 72, 69, 25))
54
        self.label_Img_In.setObjectName("label_Img_In")
55
        self.label_Img_Out = QtWidgets.QLabel(self.groupBox_2)
56
        self.label_Img_Out.setGeometry(QtCore.QRect(108, 68, 73, 37))
57
        self.label_Img_Out.setObjectName("label_Img_Out")
58
        self.groupBox = QtWidgets.QGroupBox(KompressorDialog)
59
        self.groupBox.setGeometry(QtCore.QRect(228, 8, 257, 141))
60
        font = QtGui.QFont()
61
        font.setFamily("맑은 고딕")
62
        font.setBold(True)
63
        font.setWeight(75)
64
        self.groupBox.setFont(font)
65
        self.groupBox.setObjectName("groupBox")
66
        self.label_11 = QtWidgets.QLabel(self.groupBox)
67
        self.label_11.setGeometry(QtCore.QRect(56, 32, 81, 16))
68
        font = QtGui.QFont()
69
        font.setBold(False)
70
        font.setWeight(50)
71
        self.label_11.setFont(font)
72
        self.label_11.setAlignment(QtCore.Qt.AlignCenter)
73
        self.label_11.setObjectName("label_11")
74
        self.label_ElevationUnit = QtWidgets.QLabel(self.groupBox)
75
        self.label_ElevationUnit.setGeometry(QtCore.QRect(168, 48, 50, 16))
76
        font = QtGui.QFont()
77
        font.setBold(False)
78
        font.setWeight(50)
79
        self.label_ElevationUnit.setFont(font)
80
        self.label_ElevationUnit.setAlignment(QtCore.Qt.AlignCenter)
81
        self.label_ElevationUnit.setObjectName("label_ElevationUnit")
82
        self.label_PressureUnit = QtWidgets.QLabel(self.groupBox)
83
        self.label_PressureUnit.setGeometry(QtCore.QRect(68, 48, 50, 16))
84
        font = QtGui.QFont()
85
        font.setBold(False)
86
        font.setWeight(50)
87
        self.label_PressureUnit.setFont(font)
88
        self.label_PressureUnit.setAlignment(QtCore.Qt.AlignCenter)
89
        self.label_PressureUnit.setObjectName("label_PressureUnit")
90
        self.label_12 = QtWidgets.QLabel(self.groupBox)
91
        self.label_12.setGeometry(QtCore.QRect(168, 32, 50, 16))
92
        font = QtGui.QFont()
93
        font.setBold(False)
94
        font.setWeight(50)
95
        self.label_12.setFont(font)
96
        self.label_12.setAlignment(QtCore.Qt.AlignCenter)
97
        self.label_12.setObjectName("label_12")
98
        self.lineEdit_Diff_Pressure = QtWidgets.QLineEdit(self.groupBox)
99
        self.lineEdit_Diff_Pressure.setGeometry(QtCore.QRect(42, 75, 100, 21))
100
        self.lineEdit_Diff_Pressure.setMinimumSize(QtCore.QSize(100, 0))
101
        self.lineEdit_Diff_Pressure.setMaximumSize(QtCore.QSize(100, 16777215))
102
        font = QtGui.QFont()
103
        font.setBold(False)
104
        font.setWeight(50)
105
        self.lineEdit_Diff_Pressure.setFont(font)
106
        self.lineEdit_Diff_Pressure.setAlignment(QtCore.Qt.AlignCenter)
107
        self.lineEdit_Diff_Pressure.setObjectName("lineEdit_Diff_Pressure")
108
        self.lineEdit_Elevation = QtWidgets.QLineEdit(self.groupBox)
109
        self.lineEdit_Elevation.setGeometry(QtCore.QRect(148, 75, 100, 21))
110
        self.lineEdit_Elevation.setMinimumSize(QtCore.QSize(100, 0))
111
        self.lineEdit_Elevation.setMaximumSize(QtCore.QSize(100, 16777215))
112
        font = QtGui.QFont()
113
        font.setBold(False)
114
        font.setWeight(50)
115
        self.lineEdit_Elevation.setFont(font)
116
        self.lineEdit_Elevation.setAlignment(QtCore.Qt.AlignCenter)
117
        self.lineEdit_Elevation.setObjectName("lineEdit_Elevation")
118
119
        self.retranslateUi(KompressorDialog)
120
        self.buttonBox.accepted.connect(KompressorDialog.accept)
121
        self.buttonBox.rejected.connect(KompressorDialog.reject)
122
        QtCore.QMetaObject.connectSlotsByName(KompressorDialog)
123
        KompressorDialog.setTabOrder(self.lineEdit_TagNo, self.lineEdit_Diff_Pressure)
124
        KompressorDialog.setTabOrder(self.lineEdit_Diff_Pressure, self.lineEdit_Elevation)
125
126
    def retranslateUi(self, KompressorDialog):
127
        _translate = QtCore.QCoreApplication.translate
128 08955797 kim yeonjin
        KompressorDialog.setWindowTitle(_translate("KompressorDialog", "Equipment Data - Compressor (Differential P)"))
129 59ce627c kim yeonjin
        self.groupBox_2.setTitle(_translate("KompressorDialog", "Equipment Figure"))
130
        self.label_Img.setText(_translate("KompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor.png\"/></p></body></html>"))
131
        self.label.setText(_translate("KompressorDialog", "Tag No."))
132
        self.label_Img_In.setText(_translate("KompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor_In.png\"/></p></body></html>"))
133
        self.label_Img_Out.setText(_translate("KompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor_Out.png\"/></p></body></html>"))
134
        self.groupBox.setTitle(_translate("KompressorDialog", "Equipment Data"))
135
        self.label_11.setText(_translate("KompressorDialog", "Diff.Pressure"))
136
        self.label_ElevationUnit.setText(_translate("KompressorDialog", "-"))
137
        self.label_PressureUnit.setText(_translate("KompressorDialog", "-"))
138
        self.label_12.setText(_translate("KompressorDialog", "Elevation"))
139
import Resource_rc
클립보드 이미지 추가 (최대 크기: 500 MB)