프로젝트

일반

사용자정보

개정판 1470d681

ID1470d681ff48d927b3a707beeded0f506533f122
상위 46fb5546
하위 1728447a

김연진이(가) 5년 이상 전에 추가함

issue #000 : UI 수정

1. Alignment
2. Resource 파일의 Prefix 변경 newPrefix => images

Change-Id: Iec6b13af196fdc8f06717c7ad9ab2596ea901691

차이점 보기:

HYTOS/HYTOS/Compressor_UI.py
18 18
        font.setFamily("맑은 고딕")
19 19
        CompressorDialog.setFont(font)
20 20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/newPrefix/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22 22
        CompressorDialog.setWindowIcon(icon)
23 23
        self.buttonBox = QtWidgets.QDialogButtonBox(CompressorDialog)
24 24
        self.buttonBox.setGeometry(QtCore.QRect(328, 154, 157, 23))
......
32 32
        font.setWeight(75)
33 33
        self.groupBox_2.setFont(font)
34 34
        self.groupBox_2.setObjectName("groupBox_2")
35
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
36
        self.label_2.setGeometry(QtCore.QRect(76, 96, 73, 57))
37
        self.label_2.setObjectName("label_2")
35
        self.label_Img = QtWidgets.QLabel(self.groupBox_2)
36
        self.label_Img.setGeometry(QtCore.QRect(76, 96, 73, 57))
37
        self.label_Img.setObjectName("label_Img")
38 38
        self.label = QtWidgets.QLabel(self.groupBox_2)
39 39
        self.label.setGeometry(QtCore.QRect(10, 32, 42, 21))
40 40
        font = QtGui.QFont()
......
45 45
        self.label.setObjectName("label")
46 46
        self.lineEdit_TagNo = QtWidgets.QLineEdit(self.groupBox_2)
47 47
        self.lineEdit_TagNo.setGeometry(QtCore.QRect(64, 32, 133, 21))
48
        self.lineEdit_TagNo.setAlignment(QtCore.Qt.AlignCenter)
48 49
        self.lineEdit_TagNo.setObjectName("lineEdit_TagNo")
49 50
        self.label_Img_In = QtWidgets.QLabel(self.groupBox_2)
50 51
        self.label_Img_In.setGeometry(QtCore.QRect(28, 72, 69, 25))
......
103 104
        font.setBold(False)
104 105
        font.setWeight(50)
105 106
        self.lineEdit_Suc_Pressure.setFont(font)
107
        self.lineEdit_Suc_Pressure.setAlignment(QtCore.Qt.AlignCenter)
106 108
        self.lineEdit_Suc_Pressure.setObjectName("lineEdit_Suc_Pressure")
107 109
        self.lineEdit_Suc_Elevation = QtWidgets.QLineEdit(self.groupBox)
108 110
        self.lineEdit_Suc_Elevation.setGeometry(QtCore.QRect(148, 75, 100, 21))
......
112 114
        font.setBold(False)
113 115
        font.setWeight(50)
114 116
        self.lineEdit_Suc_Elevation.setFont(font)
117
        self.lineEdit_Suc_Elevation.setAlignment(QtCore.Qt.AlignCenter)
115 118
        self.lineEdit_Suc_Elevation.setObjectName("lineEdit_Suc_Elevation")
116 119
        self.label_Dis = QtWidgets.QLabel(self.groupBox)
117 120
        self.label_Dis.setGeometry(QtCore.QRect(11, 106, 25, 17))
......
124 127
        font.setBold(False)
125 128
        font.setWeight(50)
126 129
        self.lineEdit_Dis_Elevation.setFont(font)
130
        self.lineEdit_Dis_Elevation.setAlignment(QtCore.Qt.AlignCenter)
127 131
        self.lineEdit_Dis_Elevation.setObjectName("lineEdit_Dis_Elevation")
128 132
        self.lineEdit_Dis_Pressure = QtWidgets.QLineEdit(self.groupBox)
129 133
        self.lineEdit_Dis_Pressure.setGeometry(QtCore.QRect(42, 104, 100, 21))
......
133 137
        font.setBold(False)
134 138
        font.setWeight(50)
135 139
        self.lineEdit_Dis_Pressure.setFont(font)
140
        self.lineEdit_Dis_Pressure.setAlignment(QtCore.Qt.AlignCenter)
136 141
        self.lineEdit_Dis_Pressure.setObjectName("lineEdit_Dis_Pressure")
137 142

  
138 143
        self.retranslateUi(CompressorDialog)
......
148 153
        _translate = QtCore.QCoreApplication.translate
149 154
        CompressorDialog.setWindowTitle(_translate("CompressorDialog", "HYTOS Equipment Data - Compressor"))
150 155
        self.groupBox_2.setTitle(_translate("CompressorDialog", "Equipment Figure"))
151
        self.label_2.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/newPrefix/Compressor.png\"/></p></body></html>"))
156
        self.label_Img.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor.png\"/></p></body></html>"))
152 157
        self.label.setText(_translate("CompressorDialog", "Tag No."))
153
        self.label_Img_In.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/newPrefix/Compressor_In.png\"/></p></body></html>"))
154
        self.label_Img_Out.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/newPrefix/Compressor_Out.png\"/></p></body></html>"))
158
        self.label_Img_In.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor_In.png\"/></p></body></html>"))
159
        self.label_Img_Out.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/images/Compressor_Out.png\"/></p></body></html>"))
155 160
        self.groupBox.setTitle(_translate("CompressorDialog", "Equipment Data"))
156 161
        self.label_11.setText(_translate("CompressorDialog", "Pressure"))
157 162
        self.label_ElevationUnit.setText(_translate("CompressorDialog", "Elevation"))
158 163
        self.label_PressureUnit.setText(_translate("CompressorDialog", "Pressure"))
159 164
        self.label_12.setText(_translate("CompressorDialog", "Elevation"))
160
        self.label_Suc.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/newPrefix/Suction.png\"/></p></body></html>"))
161
        self.label_Dis.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/newPrefix/Discharge.png\"/></p></body></html>"))
165
        self.label_Suc.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/images/Suction.png\"/></p></body></html>"))
166
        self.label_Dis.setText(_translate("CompressorDialog", "<html><head/><body><p><img src=\":/images/Discharge.png\"/></p></body></html>"))
162 167
import Resource_rc

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)