hytos / HYTOS / HYTOS / LineSplitter_UI.py @ 24ea7edf
이력 | 보기 | 이력해설 | 다운로드 (7.84 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\LineSplitter.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_LineSplitterDialog(object): |
14 |
def setupUi(self, LineSplitterDialog): |
15 |
LineSplitterDialog.setObjectName("LineSplitterDialog")
|
16 |
LineSplitterDialog.resize(483, 289) |
17 |
font = QtGui.QFont() |
18 |
font.setFamily("맑은 고딕")
|
19 |
LineSplitterDialog.setFont(font) |
20 |
icon = QtGui.QIcon() |
21 |
icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
22 |
LineSplitterDialog.setWindowIcon(icon) |
23 |
self.groupBox = QtWidgets.QGroupBox(LineSplitterDialog)
|
24 |
self.groupBox.setGeometry(QtCore.QRect(8, 8, 465, 238)) |
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_Img_Left = QtWidgets.QLabel(self.groupBox) |
32 |
self.label_Img_Left.setGeometry(QtCore.QRect(4, 116, 56, 12)) |
33 |
self.label_Img_Left.setObjectName("label_Img_Left") |
34 |
self.label_Img_Right = QtWidgets.QLabel(self.groupBox) |
35 |
self.label_Img_Right.setGeometry(QtCore.QRect(176, 116, 56, 12)) |
36 |
self.label_Img_Right.setObjectName("label_Img_Right") |
37 |
self.label_Img_Up = QtWidgets.QLabel(self.groupBox) |
38 |
self.label_Img_Up.setGeometry(QtCore.QRect(108, 20, 17, 49)) |
39 |
self.label_Img_Up.setObjectName("label_Img_Up") |
40 |
self.label_Img_Down = QtWidgets.QLabel(self.groupBox) |
41 |
self.label_Img_Down.setGeometry(QtCore.QRect(108, 176, 17, 49)) |
42 |
self.label_Img_Down.setObjectName("label_Img_Down") |
43 |
self.label_Img = QtWidgets.QLabel(self.groupBox) |
44 |
self.label_Img.setGeometry(QtCore.QRect(64, 68, 105, 109)) |
45 |
self.label_Img.setObjectName("label_Img") |
46 |
self.label_3 = QtWidgets.QLabel(self.groupBox) |
47 |
self.label_3.setGeometry(QtCore.QRect(208, 102, 80, 16)) |
48 |
self.label_3.setMinimumSize(QtCore.QSize(80, 0)) |
49 |
font = QtGui.QFont() |
50 |
font.setBold(False)
|
51 |
font.setWeight(50)
|
52 |
self.label_3.setFont(font)
|
53 |
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
54 |
self.label_3.setObjectName("label_3") |
55 |
self.label_PressureUnit = QtWidgets.QLabel(self.groupBox) |
56 |
self.label_PressureUnit.setGeometry(QtCore.QRect(400, 102, 57, 16)) |
57 |
font = QtGui.QFont() |
58 |
font.setBold(False)
|
59 |
font.setWeight(50)
|
60 |
self.label_PressureUnit.setFont(font)
|
61 |
self.label_PressureUnit.setObjectName("label_PressureUnit") |
62 |
self.lineEdit_Pressure_Drop = QtWidgets.QLineEdit(self.groupBox) |
63 |
self.lineEdit_Pressure_Drop.setGeometry(QtCore.QRect(294, 102, 100, 21)) |
64 |
self.lineEdit_Pressure_Drop.setMaximumSize(QtCore.QSize(100, 16777215)) |
65 |
font = QtGui.QFont() |
66 |
font.setBold(False)
|
67 |
font.setWeight(50)
|
68 |
self.lineEdit_Pressure_Drop.setFont(font)
|
69 |
self.lineEdit_Pressure_Drop.setAlignment(QtCore.Qt.AlignCenter)
|
70 |
self.lineEdit_Pressure_Drop.setObjectName("lineEdit_Pressure_Drop") |
71 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
72 |
self.label_5.setGeometry(QtCore.QRect(208, 131, 80, 16)) |
73 |
self.label_5.setMinimumSize(QtCore.QSize(80, 0)) |
74 |
font = QtGui.QFont() |
75 |
font.setBold(False)
|
76 |
font.setWeight(50)
|
77 |
self.label_5.setFont(font)
|
78 |
self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
79 |
self.label_5.setObjectName("label_5") |
80 |
self.label_ElevationUnit = QtWidgets.QLabel(self.groupBox) |
81 |
self.label_ElevationUnit.setGeometry(QtCore.QRect(400, 131, 16, 16)) |
82 |
font = QtGui.QFont() |
83 |
font.setBold(False)
|
84 |
font.setWeight(50)
|
85 |
self.label_ElevationUnit.setFont(font)
|
86 |
self.label_ElevationUnit.setObjectName("label_ElevationUnit") |
87 |
self.lineEdit_Elevation = QtWidgets.QLineEdit(self.groupBox) |
88 |
self.lineEdit_Elevation.setGeometry(QtCore.QRect(294, 131, 100, 21)) |
89 |
self.lineEdit_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
90 |
font = QtGui.QFont() |
91 |
font.setBold(False)
|
92 |
font.setWeight(50)
|
93 |
self.lineEdit_Elevation.setFont(font)
|
94 |
self.lineEdit_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
95 |
self.lineEdit_Elevation.setObjectName("lineEdit_Elevation") |
96 |
self.label = QtWidgets.QLabel(self.groupBox) |
97 |
self.label.setGeometry(QtCore.QRect(208, 73, 80, 16)) |
98 |
self.label.setMinimumSize(QtCore.QSize(80, 0)) |
99 |
font = QtGui.QFont() |
100 |
font.setBold(False)
|
101 |
font.setWeight(50)
|
102 |
self.label.setFont(font)
|
103 |
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
104 |
self.label.setObjectName("label") |
105 |
self.lineEdit_TagNo = QtWidgets.QLineEdit(self.groupBox) |
106 |
self.lineEdit_TagNo.setGeometry(QtCore.QRect(294, 73, 100, 21)) |
107 |
self.lineEdit_TagNo.setMaximumSize(QtCore.QSize(100, 16777215)) |
108 |
font = QtGui.QFont() |
109 |
font.setBold(False)
|
110 |
font.setWeight(50)
|
111 |
self.lineEdit_TagNo.setFont(font)
|
112 |
self.lineEdit_TagNo.setAlignment(QtCore.Qt.AlignCenter)
|
113 |
self.lineEdit_TagNo.setObjectName("lineEdit_TagNo") |
114 |
self.label_2 = QtWidgets.QLabel(self.groupBox) |
115 |
self.label_2.setGeometry(QtCore.QRect(440, 73, 16, 16)) |
116 |
font = QtGui.QFont() |
117 |
font.setBold(False)
|
118 |
font.setWeight(50)
|
119 |
self.label_2.setFont(font)
|
120 |
self.label_2.setText("") |
121 |
self.label_2.setObjectName("label_2") |
122 |
self.buttonBox = QtWidgets.QDialogButtonBox(LineSplitterDialog)
|
123 |
self.buttonBox.setGeometry(QtCore.QRect(0, 256, 473, 23)) |
124 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
125 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
126 |
self.buttonBox.setObjectName("buttonBox") |
127 |
|
128 |
self.retranslateUi(LineSplitterDialog)
|
129 |
self.buttonBox.accepted.connect(LineSplitterDialog.accept)
|
130 |
self.buttonBox.rejected.connect(LineSplitterDialog.reject)
|
131 |
QtCore.QMetaObject.connectSlotsByName(LineSplitterDialog) |
132 |
LineSplitterDialog.setTabOrder(self.lineEdit_TagNo, self.lineEdit_Pressure_Drop) |
133 |
LineSplitterDialog.setTabOrder(self.lineEdit_Pressure_Drop, self.lineEdit_Elevation) |
134 |
|
135 |
def retranslateUi(self, LineSplitterDialog): |
136 |
_translate = QtCore.QCoreApplication.translate |
137 |
LineSplitterDialog.setWindowTitle(_translate("LineSplitterDialog", "HYTOS Instrument Data - Splitter")) |
138 |
self.groupBox.setTitle(_translate("LineSplitterDialog", "Equipment Figure")) |
139 |
self.label_Img_Left.setText(_translate("LineSplitterDialog", "<html><head/><body><p><img src=\":/images/Tube_In.png\"/></p></body></html>")) |
140 |
self.label_Img_Right.setText(_translate("LineSplitterDialog", "<html><head/><body><p><img src=\":/images/Tube_In.png\"/></p></body></html>")) |
141 |
self.label_Img_Up.setText(_translate("LineSplitterDialog", "<html><head/><body><p><img src=\":/images/Vertical_Out.png\"/></p></body></html>")) |
142 |
self.label_Img_Down.setText(_translate("LineSplitterDialog", "<html><head/><body><p><img src=\":/images/Vertical_In.png\"/></p></body></html>")) |
143 |
self.label_Img.setText(_translate("LineSplitterDialog", "<html><head/><body><p><img src=\":/images/LineSplitter.png\"/></p></body></html>")) |
144 |
self.label_3.setText(_translate("LineSplitterDialog", "P. Drop")) |
145 |
self.label_PressureUnit.setText(_translate("LineSplitterDialog", "-")) |
146 |
self.label_5.setText(_translate("LineSplitterDialog", "Elevation")) |
147 |
self.label_ElevationUnit.setText(_translate("LineSplitterDialog", "-")) |
148 |
self.label.setText(_translate("LineSplitterDialog", "Tag No.")) |
149 |
import Resource_rc |