프로젝트

일반

사용자정보

개정판 5e476286

ID5e476286abae03060c6fea6cee4b9903b2fb4b58
상위 397fe521
하위 df87de55

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

issue #1048 input value 변경 시 Output 글자색 변경

Change-Id: Id4d18c23cce901ec47b4241e457d49f5e89256a8

차이점 보기:

HYTOS/HYTOS/AirFinCooler.py
56 56
        self.ui = AirFinCooler_UI.Ui_AirFinCoolerDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
60

  
59 61
        self.ui.lineEdit_Pressure_Drop.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Pressure_Drop))
60 62
        self.ui.lineEdit_Elevation.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Elevation))
61 63
        self.initialize()
......
67 69
        self.ui.lineEdit_TagNo.setFocus()
68 70
        self.set_controls()
69 71
        self.load_data()
72
        self.exec_()
70 73

  
71
        return self.exec_()
74
        return self._modified
72 75

  
73 76
    def initialize(self):
74 77
        self.ui.label_Img.setVisible(False)
......
76 79
    def set_controls(self):
77 80
        self.ui.label_Img.setVisible(True)
78 81

  
82
    def is_modified(self):
83
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
84
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
85
        new_tag_no = self.ui.lineEdit_TagNo.text()
86
        if old_tag_no != new_tag_no:
87
            self._modified = True
88
            return
89

  
90
        old_pressure_drop = self.ui.lineEdit_Pressure_Drop.placeholderText()
91
        new_pressure_drop = self.ui.lineEdit_Pressure_Drop.text()
92
        if old_pressure_drop != new_pressure_drop:
93
            self._modified = True
94
            return
95

  
96
        old_elevation = self.ui.lineEdit_Elevation.placeholderText()
97
        new_elevation = self.ui.lineEdit_Elevation.text()
98
        if old_elevation != new_elevation:
99
            self._modified = True
100
            return
101

  
79 102
    def load_data(self):
80 103
        """ load tag no and nozzle data """
81 104
        tag_no = self._item.tag_no
82 105
        if tag_no != 'None' and is_not_blank(tag_no):
83 106
            self.ui.lineEdit_TagNo.setText(tag_no)
107
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
84 108

  
85 109
        app_doc_data = AppDocData.instance()
86 110
        drawing = app_doc_data.activeDrawing
......
95 119
            pressure_drop = matches[0].pressure_drop
96 120
            if pressure_drop is not None:
97 121
                self.ui.lineEdit_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
122
                self.ui.lineEdit_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
98 123

  
99 124
            elevation = matches[0].elevation
100 125
            if elevation is not None:
101 126
                self.ui.lineEdit_Elevation.setText(str(convert_to_fixed_point(elevation)))
127
                self.ui.lineEdit_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
102 128

  
103 129
    def accept(self):
130
        """ check changed value """
131
        self.is_modified()
132

  
104 133
        """ set tag no and nozzle data """
105 134
        from EngineeringConnectorItem import NozzleData
106 135
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/Ball.py
56 56
        self.ui = Ball_UI.Ui_BallDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_N1_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N1_Pressure))
61 62
        self.ui.lineEdit_N2_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N2_Pressure))
......
84 85
        self.ui.lineEdit_TagNo.setFocus()
85 86
        self.set_controls()
86 87
        self.load_data()
88
        self.exec_()
87 89

  
88
        return self.exec_()
90
        return self._modified
89 91

  
90 92
    def initialize(self):
91 93
        self.ui.label_Img_N1.setVisible(False)
......
175 177
                    self.ui.lineEdit_N8_Pressure.setEnabled(True)
176 178
                    self.ui.lineEdit_N8_Elevation.setEnabled(True)
177 179

  
180
    def is_modified(self):
181
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
182
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
183
        new_tag_no = self.ui.lineEdit_TagNo.text()
184
        if old_tag_no != new_tag_no:
185
            self._modified = True
186
            return
187

  
188
        old_pressure = self.ui.lineEdit_N1_Pressure.placeholderText()
189
        new_pressure = self.ui.lineEdit_N1_Pressure.text()
190
        if old_pressure != new_pressure:
191
            self._modified = True
192
            return
193

  
194
        old_elevation = self.ui.lineEdit_N1_Elevation.placeholderText()
195
        new_elevation = self.ui.lineEdit_N1_Elevation.text()
196
        if old_elevation != new_elevation:
197
            self._modified = True
198
            return
199

  
200
        old_pressure = self.ui.lineEdit_N2_Pressure.placeholderText()
201
        new_pressure = self.ui.lineEdit_N2_Pressure.text()
202
        if old_pressure != new_pressure:
203
            self._modified = True
204
            return
205

  
206
        old_elevation = self.ui.lineEdit_N2_Elevation.placeholderText()
207
        new_elevation = self.ui.lineEdit_N2_Elevation.text()
208
        if old_elevation != new_elevation:
209
            self._modified = True
210
            return
211

  
212
        old_pressure = self.ui.lineEdit_N3_Pressure.placeholderText()
213
        new_pressure = self.ui.lineEdit_N3_Pressure.text()
214
        if old_pressure != new_pressure:
215
            self._modified = True
216
            return
217

  
218
        old_elevation = self.ui.lineEdit_N3_Elevation.placeholderText()
219
        new_elevation = self.ui.lineEdit_N3_Elevation.text()
220
        if old_elevation != new_elevation:
221
            self._modified = True
222
            return
223

  
224
        old_pressure = self.ui.lineEdit_N4_Pressure.placeholderText()
225
        new_pressure = self.ui.lineEdit_N4_Pressure.text()
226
        if old_pressure != new_pressure:
227
            self._modified = True
228
            return
229

  
230
        old_elevation = self.ui.lineEdit_N4_Elevation.placeholderText()
231
        new_elevation = self.ui.lineEdit_N4_Elevation.text()
232
        if old_elevation != new_elevation:
233
            self._modified = True
234
            return
235

  
236
        old_pressure = self.ui.lineEdit_N5_Pressure.placeholderText()
237
        new_pressure = self.ui.lineEdit_N5_Pressure.text()
238
        if old_pressure != new_pressure:
239
            self._modified = True
240
            return
241

  
242
        old_elevation = self.ui.lineEdit_N5_Elevation.placeholderText()
243
        new_elevation = self.ui.lineEdit_N5_Elevation.text()
244
        if old_elevation != new_elevation:
245
            self._modified = True
246
            return
247

  
248
        old_pressure = self.ui.lineEdit_N6_Pressure.placeholderText()
249
        new_pressure = self.ui.lineEdit_N6_Pressure.text()
250
        if old_pressure != new_pressure:
251
            self._modified = True
252
            return
253

  
254
        old_elevation = self.ui.lineEdit_N6_Elevation.placeholderText()
255
        new_elevation = self.ui.lineEdit_N6_Elevation.text()
256
        if old_elevation != new_elevation:
257
            self._modified = True
258
            return
259

  
260
        old_pressure = self.ui.lineEdit_N7_Pressure.placeholderText()
261
        new_pressure = self.ui.lineEdit_N7_Pressure.text()
262
        if old_pressure != new_pressure:
263
            self._modified = True
264
            return
265

  
266
        old_elevation = self.ui.lineEdit_N7_Elevation.placeholderText()
267
        new_elevation = self.ui.lineEdit_N7_Elevation.text()
268
        if old_elevation != new_elevation:
269
            self._modified = True
270
            return
271

  
272
        old_pressure = self.ui.lineEdit_N8_Pressure.placeholderText()
273
        new_pressure = self.ui.lineEdit_N8_Pressure.text()
274
        if old_pressure != new_pressure:
275
            self._modified = True
276
            return
277

  
278
        old_elevation = self.ui.lineEdit_N8_Elevation.placeholderText()
279
        new_elevation = self.ui.lineEdit_N8_Elevation.text()
280
        if old_elevation != new_elevation:
281
            self._modified = True
282
            return
283

  
178 284
    def load_data(self):
179 285
        """ load tag no and nozzle data """
180 286
        tag_no = self._item.tag_no
181 287
        if tag_no != 'None' and is_not_blank(tag_no):
182 288
            self.ui.lineEdit_TagNo.setText(tag_no)
289
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
183 290

  
184 291
        app_doc_data = AppDocData.instance()
185 292
        drawing = app_doc_data.activeDrawing
......
196 303
                if pressure is not None:
197 304
                    if index == 1:
198 305
                        self.ui.lineEdit_N1_Pressure.setText(str(convert_to_fixed_point(pressure)))
306
                        self.ui.lineEdit_N1_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
199 307
                    elif index == 2:
200 308
                        self.ui.lineEdit_N2_Pressure.setText(str(convert_to_fixed_point(pressure)))
309
                        self.ui.lineEdit_N2_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
201 310
                    elif index == 3:
202 311
                        self.ui.lineEdit_N3_Pressure.setText(str(convert_to_fixed_point(pressure)))
312
                        self.ui.lineEdit_N3_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
203 313
                    elif index == 4:
204 314
                        self.ui.lineEdit_N4_Pressure.setText(str(convert_to_fixed_point(pressure)))
315
                        self.ui.lineEdit_N4_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
205 316
                    elif index == 5:
206 317
                        self.ui.lineEdit_N5_Pressure.setText(str(convert_to_fixed_point(pressure)))
318
                        self.ui.lineEdit_N5_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
207 319
                    elif index == 6:
208 320
                        self.ui.lineEdit_N6_Pressure.setText(str(convert_to_fixed_point(pressure)))
321
                        self.ui.lineEdit_N6_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
209 322
                    elif index == 7:
210 323
                        self.ui.lineEdit_N7_Pressure.setText(str(convert_to_fixed_point(pressure)))
324
                        self.ui.lineEdit_N7_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
211 325
                    elif index == 8:
212 326
                        self.ui.lineEdit_N8_Pressure.setText(str(convert_to_fixed_point(pressure)))
327
                        self.ui.lineEdit_N8_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
213 328

  
214 329
                elevation = connector.data.elevation
215 330
                if elevation is not None:
216 331
                    if index == 1:
217 332
                        self.ui.lineEdit_N1_Elevation.setText(str(convert_to_fixed_point(elevation)))
333
                        self.ui.lineEdit_N1_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
218 334
                    elif index == 2:
219 335
                        self.ui.lineEdit_N2_Elevation.setText(str(convert_to_fixed_point(elevation)))
336
                        self.ui.lineEdit_N2_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
220 337
                    elif index == 3:
221 338
                        self.ui.lineEdit_N3_Elevation.setText(str(convert_to_fixed_point(elevation)))
339
                        self.ui.lineEdit_N3_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
222 340
                    elif index == 4:
223 341
                        self.ui.lineEdit_N4_Elevation.setText(str(convert_to_fixed_point(elevation)))
342
                        self.ui.lineEdit_N4_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
224 343
                    elif index == 5:
225 344
                        self.ui.lineEdit_N5_Elevation.setText(str(convert_to_fixed_point(elevation)))
345
                        self.ui.lineEdit_N5_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
226 346
                    elif index == 6:
227 347
                        self.ui.lineEdit_N6_Elevation.setText(str(convert_to_fixed_point(elevation)))
348
                        self.ui.lineEdit_N6_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
228 349
                    elif index == 7:
229 350
                        self.ui.lineEdit_N7_Elevation.setText(str(convert_to_fixed_point(elevation)))
351
                        self.ui.lineEdit_N7_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
230 352
                    elif index == 8:
231 353
                        self.ui.lineEdit_N8_Elevation.setText(str(convert_to_fixed_point(elevation)))
354
                        self.ui.lineEdit_N8_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
232 355

  
233 356
    def accept(self):
357
        """ check changed value """
358
        self.is_modified()
359

  
234 360
        """ set tag no and nozzle data """
235 361
        from EngineeringConnectorItem import NozzleData
236 362
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/BatteryLimit.py
56 56
        self.ui = BatteryLimit_UI.Ui_BatteryLimitDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
60

  
59 61
        self.ui.lineEdit_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Pressure))
60 62
        self.ui.lineEdit_Elevation.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Elevation))
61 63
        self.initialize()
......
67 69
        self.ui.lineEdit_TagNo.setFocus()
68 70
        self.set_controls()
69 71
        self.load_data()
72
        self.exec_()
70 73

  
71
        return self.exec_()
74
        return self._modified
72 75

  
73 76
    def initialize(self):
74 77

  
......
89 92
        elif name == 'B_L_R':
90 93
            self.ui.label_Img_Right.setVisible(True)
91 94

  
95
    def is_modified(self):
96
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
97
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
98
        new_tag_no = self.ui.lineEdit_TagNo.text()
99
        if old_tag_no != new_tag_no:
100
            self._modified = True
101
            return
102

  
103
        old_pressure = self.ui.lineEdit_Pressure.placeholderText()
104
        new_pressure = self.ui.lineEdit_Pressure.text()
105
        if old_pressure != new_pressure:
106
            self._modified = True
107
            return
108

  
109
        old_elevation = self.ui.lineEdit_Elevation.placeholderText()
110
        new_elevation = self.ui.lineEdit_Elevation.text()
111
        if old_elevation != new_elevation:
112
            self._modified = True
113
            return
114

  
92 115
    def load_data(self):
93 116
        """ load tag no and nozzle data """
94 117
        tag_no = self._item.tag_no
95 118
        if tag_no != 'None' and is_not_blank(tag_no):
96 119
            self.ui.lineEdit_TagNo.setText(tag_no)
120
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
97 121

  
98 122
        app_doc_data = AppDocData.instance()
99 123
        drawing = app_doc_data.activeDrawing
......
108 132
            pressure = matches[0].pressure
109 133
            if pressure is not None:
110 134
                self.ui.lineEdit_Pressure.setText(str(convert_to_fixed_point(pressure)))
135
                self.ui.lineEdit_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
111 136

  
112 137
            elevation = matches[0].elevation
113 138
            if elevation is not None:
114 139
                self.ui.lineEdit_Elevation.setText(str(convert_to_fixed_point(elevation)))
140
                self.ui.lineEdit_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
115 141

  
116 142
    def accept(self):
143
        """ check changed value """
144
        self.is_modified()
145

  
117 146
        """ set tag no and nozzle data """
118 147
        from EngineeringConnectorItem import NozzleData
119 148
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/Coil.py
56 56
        self.ui = Coil_UI.Ui_CoilDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_Pressure_Drop.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Pressure_Drop))
61 62
        self.ui.lineEdit_Elevation.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Elevation))
......
68 69
        self.ui.lineEdit_TagNo.setFocus()
69 70
        self.set_controls()
70 71
        self.load_data()
72
        self.exec_()
71 73

  
72
        return self.exec_()
74
        return self._modified
73 75

  
74 76
    def initialize(self):
75 77
        self.ui.label_Img.setVisible(False)
......
77 79
    def set_controls(self):
78 80
        self.ui.label_Img.setVisible(True)
79 81

  
82
    def is_modified(self):
83
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
84
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
85
        new_tag_no = self.ui.lineEdit_TagNo.text()
86
        if old_tag_no != new_tag_no:
87
            self._modified = True
88
            return
89

  
90
        old_pressure_drop = self.ui.lineEdit_Pressure_Drop.placeholderText()
91
        new_pressure_drop = self.ui.lineEdit_Pressure_Drop.text()
92
        if old_pressure_drop != new_pressure_drop:
93
            self._modified = True
94
            return
95

  
96
        old_elevation = self.ui.lineEdit_Elevation.placeholderText()
97
        new_elevation = self.ui.lineEdit_Elevation.text()
98
        if old_elevation != new_elevation:
99
            self._modified = True
100
            return
101

  
80 102
    def load_data(self):
81 103
        """ load tag no and nozzle data """
82 104
        tag_no = self._item.tag_no
83 105
        if tag_no != 'None' and is_not_blank(tag_no):
84 106
            self.ui.lineEdit_TagNo.setText(tag_no)
107
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
85 108

  
86 109
        app_doc_data = AppDocData.instance()
87 110
        drawing = app_doc_data.activeDrawing
......
96 119
            pressure_drop = matches[0].pressure_drop
97 120
            if pressure_drop is not None:
98 121
                self.ui.lineEdit_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
122
                self.ui.lineEdit_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
99 123

  
100 124
            elevation = matches[0].elevation
101 125
            if elevation is not None:
102 126
                self.ui.lineEdit_Elevation.setText(str(convert_to_fixed_point(elevation)))
127
                self.ui.lineEdit_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
103 128

  
104 129
    def accept(self):
130
        """ check changed value """
131
        self.is_modified()
132

  
105 133
        """ set tag no and nozzle data """
106 134
        from EngineeringConnectorItem import NozzleData
107 135
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/Compressor.py
56 56
        self.ui = Compressor_UI.Ui_CompressorDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_Suc_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Suc_Pressure))
61 62
        self.ui.lineEdit_Dis_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Dis_Pressure))
......
71 72
        self.ui.lineEdit_TagNo.setFocus()
72 73
        self.set_controls()
73 74
        self.load_data()
75
        self.exec_()
74 76

  
75
        return self.exec_()
77
        return self._modified
76 78

  
77 79
    def initialize(self):
78 80
        self.ui.label_Img_In.setVisible(False)
......
108 110
                self.ui.lineEdit_Suc_Pressure.setEnabled(True)
109 111
                self.ui.lineEdit_Suc_Elevation.setEnabled(True)
110 112

  
113
    def is_modified(self):
114
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
115
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
116
        new_tag_no = self.ui.lineEdit_TagNo.text()
117
        if old_tag_no != new_tag_no:
118
            self._modified = True
119
            return
120

  
121
        old_pressure = self.ui.lineEdit_Dis_Pressure.placeholderText()
122
        new_pressure = self.ui.lineEdit_Dis_Pressure.text()
123
        if old_pressure != new_pressure:
124
            self._modified = True
125
            return
126

  
127
        old_elevation = self.ui.lineEdit_Dis_Elevation.placeholderText()
128
        new_elevation = self.ui.lineEdit_Dis_Elevation.text()
129
        if old_elevation != new_elevation:
130
            self._modified = True
131
            return
132

  
133
        old_pressure = self.ui.lineEdit_Suc_Pressure.placeholderText()
134
        new_pressure = self.ui.lineEdit_Suc_Pressure.text()
135
        if old_pressure != new_pressure:
136
            self._modified = True
137
            return
138

  
139
        old_elevation = self.ui.lineEdit_Suc_Elevation.placeholderText()
140
        new_elevation = self.ui.lineEdit_Suc_Elevation.text()
141
        if old_elevation != new_elevation:
142
            self._modified = True
143
            return
144

  
111 145
    def load_data(self):
112 146
        """ load tag no and nozzle data """
113 147
        tag_no = self._item.tag_no
114 148
        if tag_no != 'None' and is_not_blank(tag_no):
115 149
            self.ui.lineEdit_TagNo.setText(tag_no)
150
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
116 151

  
117 152
        app_doc_data = AppDocData.instance()
118 153
        drawing = app_doc_data.activeDrawing
......
129 164
                if pressure is not None:
130 165
                    if index == 1:
131 166
                        self.ui.lineEdit_Dis_Pressure.setText(str(convert_to_fixed_point(pressure)))
167
                        self.ui.lineEdit_Dis_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
132 168
                    elif index == 2:
133 169
                        self.ui.lineEdit_Suc_Pressure.setText(str(convert_to_fixed_point(pressure)))
170
                        self.ui.lineEdit_Suc_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
134 171

  
135 172
                elevation = connector.data.elevation
136 173
                if elevation is not None:
137 174
                    if index == 1:
138 175
                        self.ui.lineEdit_Dis_Elevation.setText(str(convert_to_fixed_point(elevation)))
176
                        self.ui.lineEdit_Dis_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
139 177
                    elif index == 2:
140 178
                        self.ui.lineEdit_Suc_Elevation.setText(str(convert_to_fixed_point(elevation)))
179
                        self.ui.lineEdit_Suc_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
141 180

  
142 181
    def accept(self):
182
        """ check changed value """
183
        self.is_modified()
184

  
143 185
        """ set tag no and nozzle data """
144 186
        from EngineeringConnectorItem import NozzleData
145 187
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/ConeRoof.py
56 56
        self.ui = ConeRoof_UI.Ui_ConeRoofDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_N1_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N1_Pressure))
61 62
        self.ui.lineEdit_N2_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N2_Pressure))
......
86 87
        self.ui.lineEdit_TagNo.setFocus()
87 88
        self.set_controls()
88 89
        self.load_data()
90
        self.exec_()
89 91

  
90
        return self.exec_()
92
        return self._modified
91 93

  
92 94
    def initialize(self):
93 95
        # To do : 이름으로 Control 찾아오기
......
188 190
                    self.ui.lineEdit_N9_Pressure.setEnabled(True)
189 191
                    self.ui.lineEdit_N9_Elevation.setEnabled(True)
190 192

  
193
    def is_modified(self):
194
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
195
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
196
        new_tag_no = self.ui.lineEdit_TagNo.text()
197
        if old_tag_no != new_tag_no:
198
            self._modified = True
199
            return
200

  
201
        old_pressure = self.ui.lineEdit_N1_Pressure.placeholderText()
202
        new_pressure = self.ui.lineEdit_N1_Pressure.text()
203
        if old_pressure != new_pressure:
204
            self._modified = True
205
            return
206

  
207
        old_elevation = self.ui.lineEdit_N1_Elevation.placeholderText()
208
        new_elevation = self.ui.lineEdit_N1_Elevation.text()
209
        if old_elevation != new_elevation:
210
            self._modified = True
211
            return
212

  
213
        old_pressure = self.ui.lineEdit_N2_Pressure.placeholderText()
214
        new_pressure = self.ui.lineEdit_N2_Pressure.text()
215
        if old_pressure != new_pressure:
216
            self._modified = True
217
            return
218

  
219
        old_elevation = self.ui.lineEdit_N2_Elevation.placeholderText()
220
        new_elevation = self.ui.lineEdit_N2_Elevation.text()
221
        if old_elevation != new_elevation:
222
            self._modified = True
223
            return
224

  
225
        old_pressure = self.ui.lineEdit_N3_Pressure.placeholderText()
226
        new_pressure = self.ui.lineEdit_N3_Pressure.text()
227
        if old_pressure != new_pressure:
228
            self._modified = True
229
            return
230

  
231
        old_elevation = self.ui.lineEdit_N3_Elevation.placeholderText()
232
        new_elevation = self.ui.lineEdit_N3_Elevation.text()
233
        if old_elevation != new_elevation:
234
            self._modified = True
235
            return
236

  
237
        old_pressure = self.ui.lineEdit_N4_Pressure.placeholderText()
238
        new_pressure = self.ui.lineEdit_N4_Pressure.text()
239
        if old_pressure != new_pressure:
240
            self._modified = True
241
            return
242

  
243
        old_elevation = self.ui.lineEdit_N4_Elevation.placeholderText()
244
        new_elevation = self.ui.lineEdit_N4_Elevation.text()
245
        if old_elevation != new_elevation:
246
            self._modified = True
247
            return
248

  
249
        old_pressure = self.ui.lineEdit_N5_Pressure.placeholderText()
250
        new_pressure = self.ui.lineEdit_N5_Pressure.text()
251
        if old_pressure != new_pressure:
252
            self._modified = True
253
            return
254

  
255
        old_elevation = self.ui.lineEdit_N5_Elevation.placeholderText()
256
        new_elevation = self.ui.lineEdit_N5_Elevation.text()
257
        if old_elevation != new_elevation:
258
            self._modified = True
259
            return
260

  
261
        old_pressure = self.ui.lineEdit_N6_Pressure.placeholderText()
262
        new_pressure = self.ui.lineEdit_N6_Pressure.text()
263
        if old_pressure != new_pressure:
264
            self._modified = True
265
            return
266

  
267
        old_elevation = self.ui.lineEdit_N6_Elevation.placeholderText()
268
        new_elevation = self.ui.lineEdit_N6_Elevation.text()
269
        if old_elevation != new_elevation:
270
            self._modified = True
271
            return
272

  
273
        old_pressure = self.ui.lineEdit_N7_Pressure.placeholderText()
274
        new_pressure = self.ui.lineEdit_N7_Pressure.text()
275
        if old_pressure != new_pressure:
276
            self._modified = True
277
            return
278

  
279
        old_elevation = self.ui.lineEdit_N7_Elevation.placeholderText()
280
        new_elevation = self.ui.lineEdit_N7_Elevation.text()
281
        if old_elevation != new_elevation:
282
            self._modified = True
283
            return
284

  
285
        old_pressure = self.ui.lineEdit_N8_Pressure.placeholderText()
286
        new_pressure = self.ui.lineEdit_N8_Pressure.text()
287
        if old_pressure != new_pressure:
288
            self._modified = True
289
            return
290

  
291
        old_elevation = self.ui.lineEdit_N8_Elevation.placeholderText()
292
        new_elevation = self.ui.lineEdit_N8_Elevation.text()
293
        if old_elevation != new_elevation:
294
            self._modified = True
295
            return
296

  
297
        old_pressure = self.ui.lineEdit_N9_Pressure.placeholderText()
298
        new_pressure = self.ui.lineEdit_N9_Pressure.text()
299
        if old_pressure != new_pressure:
300
            self._modified = True
301
            return
302

  
303
        old_elevation = self.ui.lineEdit_N9_Elevation.placeholderText()
304
        new_elevation = self.ui.lineEdit_N9_Elevation.text()
305
        if old_elevation != new_elevation:
306
            self._modified = True
307
            return
308

  
191 309
    def load_data(self):
192 310
        """ load tag no and nozzle data """
193 311
        tag_no = self._item.tag_no
194 312
        if tag_no != 'None' and is_not_blank(tag_no):
195 313
            self.ui.lineEdit_TagNo.setText(tag_no)
314
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
196 315

  
197 316
        app_doc_data = AppDocData.instance()
198 317
        drawing = app_doc_data.activeDrawing
......
209 328
                if pressure is not None:
210 329
                    if index == 1:
211 330
                        self.ui.lineEdit_N1_Pressure.setText(str(convert_to_fixed_point(pressure)))
331
                        self.ui.lineEdit_N1_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
212 332
                    elif index == 2:
213 333
                        self.ui.lineEdit_N2_Pressure.setText(str(convert_to_fixed_point(pressure)))
334
                        self.ui.lineEdit_N2_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
214 335
                    elif index == 3:
215 336
                        self.ui.lineEdit_N3_Pressure.setText(str(convert_to_fixed_point(pressure)))
337
                        self.ui.lineEdit_N3_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
216 338
                    elif index == 4:
217 339
                        self.ui.lineEdit_N4_Pressure.setText(str(convert_to_fixed_point(pressure)))
340
                        self.ui.lineEdit_N4_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
218 341
                    elif index == 5:
219 342
                        self.ui.lineEdit_N5_Pressure.setText(str(convert_to_fixed_point(pressure)))
343
                        self.ui.lineEdit_N5_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
220 344
                    elif index == 6:
221 345
                        self.ui.lineEdit_N6_Pressure.setText(str(convert_to_fixed_point(pressure)))
346
                        self.ui.lineEdit_N6_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
222 347
                    elif index == 7:
223 348
                        self.ui.lineEdit_N7_Pressure.setText(str(convert_to_fixed_point(pressure)))
349
                        self.ui.lineEdit_N7_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
224 350
                    elif index == 8:
225 351
                        self.ui.lineEdit_N8_Pressure.setText(str(convert_to_fixed_point(pressure)))
352
                        self.ui.lineEdit_N8_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
226 353
                    elif index == 9:
227 354
                        self.ui.lineEdit_N9_Pressure.setText(str(convert_to_fixed_point(pressure)))
355
                        self.ui.lineEdit_N9_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
228 356

  
229 357
                elevation = connector.data.elevation
230 358
                if elevation is not None:
231 359
                    if index == 1:
232 360
                        self.ui.lineEdit_N1_Elevation.setText(str(convert_to_fixed_point(elevation)))
361
                        self.ui.lineEdit_N1_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
233 362
                    elif index == 2:
234 363
                        self.ui.lineEdit_N2_Elevation.setText(str(convert_to_fixed_point(elevation)))
364
                        self.ui.lineEdit_N2_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
235 365
                    elif index == 3:
236 366
                        self.ui.lineEdit_N3_Elevation.setText(str(convert_to_fixed_point(elevation)))
367
                        self.ui.lineEdit_N3_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
237 368
                    elif index == 4:
238 369
                        self.ui.lineEdit_N4_Elevation.setText(str(convert_to_fixed_point(elevation)))
370
                        self.ui.lineEdit_N4_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
239 371
                    elif index == 5:
240 372
                        self.ui.lineEdit_N5_Elevation.setText(str(convert_to_fixed_point(elevation)))
373
                        self.ui.lineEdit_N5_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
241 374
                    elif index == 6:
242 375
                        self.ui.lineEdit_N6_Elevation.setText(str(convert_to_fixed_point(elevation)))
376
                        self.ui.lineEdit_N6_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
243 377
                    elif index == 7:
244 378
                        self.ui.lineEdit_N7_Elevation.setText(str(convert_to_fixed_point(elevation)))
379
                        self.ui.lineEdit_N7_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
245 380
                    elif index == 8:
246 381
                        self.ui.lineEdit_N8_Elevation.setText(str(convert_to_fixed_point(elevation)))
382
                        self.ui.lineEdit_N8_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
247 383
                    elif index == 9:
248 384
                        self.ui.lineEdit_N9_Elevation.setText(str(convert_to_fixed_point(elevation)))
385
                        self.ui.lineEdit_N9_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
249 386

  
250 387
    def accept(self):
388
        """ check changed value """
389
        self.is_modified()
390

  
251 391
        """ set tag no and nozzle data """
252 392
        from EngineeringConnectorItem import NozzleData
253 393
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/DP_Equipment.py
56 56
        self.ui = DP_Equipment_UI.Ui_DP_EquipmentDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_Horizontal_Pressure_Drop.setValidator(
61 62
            QtGui.QDoubleValidator(self.ui.lineEdit_Horizontal_Pressure_Drop))
......
74 75
        self.ui.lineEdit_TagNo.setFocus()
75 76
        self.set_controls()
76 77
        self.load_data()
78
        self.exec_()
77 79

  
78
        return self.exec_()
80
        return self._modified
79 81

  
80 82
    def initialize(self):
81 83
        self.ui.label_Img_Horizontal_In.setVisible(False)
......
115 117
                self.ui.lineEdit_Horizontal_Pressure_Drop.setEnabled(True)
116 118
                self.ui.lineEdit_Horizontal_Elevation.setEnabled(True)
117 119

  
120
    def is_modified(self):
121
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
122
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
123
        new_tag_no = self.ui.lineEdit_TagNo.text()
124
        if old_tag_no != new_tag_no:
125
            self._modified = True
126
            return
127

  
128
        old_pressure_drop = self.ui.lineEdit_Vertical_Pressure_Drop.placeholderText()
129
        new_pressure_drop = self.ui.lineEdit_Vertical_Pressure_Drop.text()
130
        if old_pressure_drop != new_pressure_drop:
131
            self._modified = True
132
            return
133

  
134
        old_elevation = self.ui.lineEdit_Vertical_Elevation.placeholderText()
135
        new_elevation = self.ui.lineEdit_Vertical_Elevation.text()
136
        if old_elevation != new_elevation:
137
            self._modified = True
138
            return
139

  
140
        old_pressure_drop = self.ui.lineEdit_Horizontal_Pressure_Drop.placeholderText()
141
        new_pressure_drop = self.ui.lineEdit_Horizontal_Pressure_Drop.text()
142
        if old_pressure_drop != new_pressure_drop:
143
            self._modified = True
144
            return
145

  
146
        old_elevation = self.ui.lineEdit_Horizontal_Elevation.placeholderText()
147
        new_elevation = self.ui.lineEdit_Horizontal_Elevation.text()
148
        if old_elevation != new_elevation:
149
            self._modified = True
150
            return
151

  
118 152
    def load_data(self):
119 153
        """ load tag no and nozzle data """
120 154
        tag_no = self._item.tag_no
121 155
        if tag_no != 'None' and is_not_blank(tag_no):
122 156
            self.ui.lineEdit_TagNo.setText(tag_no)
157
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
123 158

  
124 159
        app_doc_data = AppDocData.instance()
125 160
        drawing = app_doc_data.activeDrawing
......
136 171
                if pressure_drop is not None:
137 172
                    if index == 1:
138 173
                        self.ui.lineEdit_Vertical_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
174
                        self.ui.lineEdit_Vertical_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
139 175
                    elif index == 2:
140 176
                        self.ui.lineEdit_Horizontal_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
177
                        self.ui.lineEdit_Horizontal_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
141 178
                    elif index == 3:
142 179
                        self.ui.lineEdit_Vertical_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
180
                        self.ui.lineEdit_Vertical_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
143 181
                    elif index == 4:
144 182
                        self.ui.lineEdit_Horizontal_Pressure_Drop.setText(str(convert_to_fixed_point(pressure_drop)))
183
                        self.ui.lineEdit_Horizontal_Pressure_Drop.setPlaceholderText(str(convert_to_fixed_point(pressure_drop)))
145 184

  
146 185
                elevation = connector.data.elevation
147 186
                if elevation is not None:
148 187
                    if index == 1:
149 188
                        self.ui.lineEdit_Vertical_Elevation.setText(str(convert_to_fixed_point(elevation)))
189
                        self.ui.lineEdit_Vertical_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
150 190
                    elif index == 2:
151 191
                        self.ui.lineEdit_Horizontal_Elevation.setText(str(convert_to_fixed_point(elevation)))
192
                        self.ui.lineEdit_Horizontal_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
152 193
                    elif index == 3:
153 194
                        self.ui.lineEdit_Vertical_Elevation.setText(str(convert_to_fixed_point(elevation)))
195
                        self.ui.lineEdit_Vertical_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
154 196
                    elif index == 4:
155 197
                        self.ui.lineEdit_Horizontal_Elevation.setText(str(convert_to_fixed_point(elevation)))
198
                        self.ui.lineEdit_Horizontal_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
156 199

  
157 200
    def accept(self):
201
        """ check changed value """
202
        self.is_modified()
203

  
158 204
        """ set tag no and nozzle data """
159 205
        from EngineeringConnectorItem import NozzleData
160 206
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/DomeRoof.py
56 56
        self.ui = DomeRoof_UI.Ui_DomeRoofDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_N1_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N1_Pressure))
61 62
        self.ui.lineEdit_N2_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N2_Pressure))
......
86 87
        self.ui.lineEdit_TagNo.setFocus()
87 88
        self.set_controls()
88 89
        self.load_data()
90
        self.exec_()
89 91

  
90
        return self.exec_()
92
        return self._modified
91 93

  
92 94
    def initialize(self):
93 95
        # To do : 이름으로 Control 찾아오기
......
188 190
                    self.ui.lineEdit_N9_Pressure.setEnabled(True)
189 191
                    self.ui.lineEdit_N9_Elevation.setEnabled(True)
190 192

  
193
    def is_modified(self):
194
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
195
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
196
        new_tag_no = self.ui.lineEdit_TagNo.text()
197
        if old_tag_no != new_tag_no:
198
            self._modified = True
199
            return
200

  
201
        old_pressure = self.ui.lineEdit_N1_Pressure.placeholderText()
202
        new_pressure = self.ui.lineEdit_N1_Pressure.text()
203
        if old_pressure != new_pressure:
204
            self._modified = True
205
            return
206

  
207
        old_elevation = self.ui.lineEdit_N1_Elevation.placeholderText()
208
        new_elevation = self.ui.lineEdit_N1_Elevation.text()
209
        if old_elevation != new_elevation:
210
            self._modified = True
211
            return
212

  
213
        old_pressure = self.ui.lineEdit_N2_Pressure.placeholderText()
214
        new_pressure = self.ui.lineEdit_N2_Pressure.text()
215
        if old_pressure != new_pressure:
216
            self._modified = True
217
            return
218

  
219
        old_elevation = self.ui.lineEdit_N2_Elevation.placeholderText()
220
        new_elevation = self.ui.lineEdit_N2_Elevation.text()
221
        if old_elevation != new_elevation:
222
            self._modified = True
223
            return
224

  
225
        old_pressure = self.ui.lineEdit_N3_Pressure.placeholderText()
226
        new_pressure = self.ui.lineEdit_N3_Pressure.text()
227
        if old_pressure != new_pressure:
228
            self._modified = True
229
            return
230

  
231
        old_elevation = self.ui.lineEdit_N3_Elevation.placeholderText()
232
        new_elevation = self.ui.lineEdit_N3_Elevation.text()
233
        if old_elevation != new_elevation:
234
            self._modified = True
235
            return
236

  
237
        old_pressure = self.ui.lineEdit_N4_Pressure.placeholderText()
238
        new_pressure = self.ui.lineEdit_N4_Pressure.text()
239
        if old_pressure != new_pressure:
240
            self._modified = True
241
            return
242

  
243
        old_elevation = self.ui.lineEdit_N4_Elevation.placeholderText()
244
        new_elevation = self.ui.lineEdit_N4_Elevation.text()
245
        if old_elevation != new_elevation:
246
            self._modified = True
247
            return
248

  
249
        old_pressure = self.ui.lineEdit_N5_Pressure.placeholderText()
250
        new_pressure = self.ui.lineEdit_N5_Pressure.text()
251
        if old_pressure != new_pressure:
252
            self._modified = True
253
            return
254

  
255
        old_elevation = self.ui.lineEdit_N5_Elevation.placeholderText()
256
        new_elevation = self.ui.lineEdit_N5_Elevation.text()
257
        if old_elevation != new_elevation:
258
            self._modified = True
259
            return
260

  
261
        old_pressure = self.ui.lineEdit_N6_Pressure.placeholderText()
262
        new_pressure = self.ui.lineEdit_N6_Pressure.text()
263
        if old_pressure != new_pressure:
264
            self._modified = True
265
            return
266

  
267
        old_elevation = self.ui.lineEdit_N6_Elevation.placeholderText()
268
        new_elevation = self.ui.lineEdit_N6_Elevation.text()
269
        if old_elevation != new_elevation:
270
            self._modified = True
271
            return
272

  
273
        old_pressure = self.ui.lineEdit_N7_Pressure.placeholderText()
274
        new_pressure = self.ui.lineEdit_N7_Pressure.text()
275
        if old_pressure != new_pressure:
276
            self._modified = True
277
            return
278

  
279
        old_elevation = self.ui.lineEdit_N7_Elevation.placeholderText()
280
        new_elevation = self.ui.lineEdit_N7_Elevation.text()
281
        if old_elevation != new_elevation:
282
            self._modified = True
283
            return
284

  
285
        old_pressure = self.ui.lineEdit_N8_Pressure.placeholderText()
286
        new_pressure = self.ui.lineEdit_N8_Pressure.text()
287
        if old_pressure != new_pressure:
288
            self._modified = True
289
            return
290

  
291
        old_elevation = self.ui.lineEdit_N8_Elevation.placeholderText()
292
        new_elevation = self.ui.lineEdit_N8_Elevation.text()
293
        if old_elevation != new_elevation:
294
            self._modified = True
295
            return
296

  
297
        old_pressure = self.ui.lineEdit_N9_Pressure.placeholderText()
298
        new_pressure = self.ui.lineEdit_N9_Pressure.text()
299
        if old_pressure != new_pressure:
300
            self._modified = True
301
            return
302

  
303
        old_elevation = self.ui.lineEdit_N9_Elevation.placeholderText()
304
        new_elevation = self.ui.lineEdit_N9_Elevation.text()
305
        if old_elevation != new_elevation:
306
            self._modified = True
307
            return
308

  
309

  
191 310
    def load_data(self):
192 311
        """ load tag no and nozzle data """
193 312
        tag_no = self._item.tag_no
194 313
        if tag_no != 'None' and is_not_blank(tag_no):
195 314
            self.ui.lineEdit_TagNo.setText(tag_no)
315
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
196 316

  
197 317
        app_doc_data = AppDocData.instance()
198 318
        drawing = app_doc_data.activeDrawing
......
209 329
                if pressure is not None:
210 330
                    if index == 1:
211 331
                        self.ui.lineEdit_N1_Pressure.setText(str(convert_to_fixed_point(pressure)))
332
                        self.ui.lineEdit_N1_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
212 333
                    elif index == 2:
213 334
                        self.ui.lineEdit_N2_Pressure.setText(str(convert_to_fixed_point(pressure)))
335
                        self.ui.lineEdit_N2_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
214 336
                    elif index == 3:
215 337
                        self.ui.lineEdit_N3_Pressure.setText(str(convert_to_fixed_point(pressure)))
338
                        self.ui.lineEdit_N3_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
216 339
                    elif index == 4:
217 340
                        self.ui.lineEdit_N4_Pressure.setText(str(convert_to_fixed_point(pressure)))
341
                        self.ui.lineEdit_N4_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
218 342
                    elif index == 5:
219 343
                        self.ui.lineEdit_N5_Pressure.setText(str(convert_to_fixed_point(pressure)))
344
                        self.ui.lineEdit_N5_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
220 345
                    elif index == 6:
221 346
                        self.ui.lineEdit_N6_Pressure.setText(str(convert_to_fixed_point(pressure)))
347
                        self.ui.lineEdit_N6_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
222 348
                    elif index == 7:
223 349
                        self.ui.lineEdit_N7_Pressure.setText(str(convert_to_fixed_point(pressure)))
350
                        self.ui.lineEdit_N7_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
224 351
                    elif index == 8:
225 352
                        self.ui.lineEdit_N8_Pressure.setText(str(convert_to_fixed_point(pressure)))
353
                        self.ui.lineEdit_N8_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
226 354
                    elif index == 9:
227 355
                        self.ui.lineEdit_N9_Pressure.setText(str(convert_to_fixed_point(pressure)))
356
                        self.ui.lineEdit_N9_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
228 357

  
229 358
                elevation = connector.data.elevation
230 359
                if elevation is not None:
231 360
                    if index == 1:
232 361
                        self.ui.lineEdit_N1_Elevation.setText(str(convert_to_fixed_point(elevation)))
362
                        self.ui.lineEdit_N1_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
233 363
                    elif index == 2:
234 364
                        self.ui.lineEdit_N2_Elevation.setText(str(convert_to_fixed_point(elevation)))
365
                        self.ui.lineEdit_N2_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
235 366
                    elif index == 3:
236 367
                        self.ui.lineEdit_N3_Elevation.setText(str(convert_to_fixed_point(elevation)))
368
                        self.ui.lineEdit_N3_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
237 369
                    elif index == 4:
238 370
                        self.ui.lineEdit_N4_Elevation.setText(str(convert_to_fixed_point(elevation)))
371
                        self.ui.lineEdit_N4_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
239 372
                    elif index == 5:
240 373
                        self.ui.lineEdit_N5_Elevation.setText(str(convert_to_fixed_point(elevation)))
374
                        self.ui.lineEdit_N5_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
241 375
                    elif index == 6:
242 376
                        self.ui.lineEdit_N6_Elevation.setText(str(convert_to_fixed_point(elevation)))
377
                        self.ui.lineEdit_N6_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
243 378
                    elif index == 7:
244 379
                        self.ui.lineEdit_N7_Elevation.setText(str(convert_to_fixed_point(elevation)))
380
                        self.ui.lineEdit_N7_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
245 381
                    elif index == 8:
246 382
                        self.ui.lineEdit_N8_Elevation.setText(str(convert_to_fixed_point(elevation)))
383
                        self.ui.lineEdit_N8_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
247 384
                    elif index == 9:
248 385
                        self.ui.lineEdit_N9_Elevation.setText(str(convert_to_fixed_point(elevation)))
386
                        self.ui.lineEdit_N9_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
249 387

  
250 388
    def accept(self):
389
        """ check changed value """
390
        self.is_modified()
391

  
251 392
        """ set tag no and nozzle data """
252 393
        from EngineeringConnectorItem import NozzleData
253 394
        tag_no = self.ui.lineEdit_TagNo.text()
HYTOS/HYTOS/Drum_Horizontal.py
56 56
        self.ui = Drum_Horizontal_UI.Ui_Drum_HorizontalDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_N1_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N1_Pressure))
61 62
        self.ui.lineEdit_N2_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N2_Pressure))
......
88 89
        self.ui.lineEdit_TagNo.setFocus()
89 90
        self.set_controls()
90 91
        self.load_data()
92
        self.exec_()
91 93

  
92
        return self.exec_()
94
        return self._modified
93 95

  
94 96
    def initialize(self):
95 97
        # To do : 이름으로 Control 찾아오기
......
200 202
                    self.ui.lineEdit_N10_Pressure.setEnabled(True)
201 203
                    self.ui.lineEdit_N10_Elevation.setEnabled(True)
202 204

  
205
    def is_modified(self):
206
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
207
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
208
        new_tag_no = self.ui.lineEdit_TagNo.text()
209
        if old_tag_no != new_tag_no:
210
            self._modified = True
211
            return
212

  
213
        old_pressure = self.ui.lineEdit_N1_Pressure.placeholderText()
214
        new_pressure = self.ui.lineEdit_N1_Pressure.text()
215
        if old_pressure != new_pressure:
216
            self._modified = True
217
            return
218

  
219
        old_elevation = self.ui.lineEdit_N1_Elevation.placeholderText()
220
        new_elevation = self.ui.lineEdit_N1_Elevation.text()
221
        if old_elevation != new_elevation:
222
            self._modified = True
223
            return
224

  
225
        old_pressure = self.ui.lineEdit_N2_Pressure.placeholderText()
226
        new_pressure = self.ui.lineEdit_N2_Pressure.text()
227
        if old_pressure != new_pressure:
228
            self._modified = True
229
            return
230

  
231
        old_elevation = self.ui.lineEdit_N2_Elevation.placeholderText()
232
        new_elevation = self.ui.lineEdit_N2_Elevation.text()
233
        if old_elevation != new_elevation:
234
            self._modified = True
235
            return
236

  
237
        old_pressure = self.ui.lineEdit_N3_Pressure.placeholderText()
238
        new_pressure = self.ui.lineEdit_N3_Pressure.text()
239
        if old_pressure != new_pressure:
240
            self._modified = True
241
            return
242

  
243
        old_elevation = self.ui.lineEdit_N3_Elevation.placeholderText()
244
        new_elevation = self.ui.lineEdit_N3_Elevation.text()
245
        if old_elevation != new_elevation:
246
            self._modified = True
247
            return
248

  
249
        old_pressure = self.ui.lineEdit_N4_Pressure.placeholderText()
250
        new_pressure = self.ui.lineEdit_N4_Pressure.text()
251
        if old_pressure != new_pressure:
252
            self._modified = True
253
            return
254

  
255
        old_elevation = self.ui.lineEdit_N4_Elevation.placeholderText()
256
        new_elevation = self.ui.lineEdit_N4_Elevation.text()
257
        if old_elevation != new_elevation:
258
            self._modified = True
259
            return
260

  
261
        old_pressure = self.ui.lineEdit_N5_Pressure.placeholderText()
262
        new_pressure = self.ui.lineEdit_N5_Pressure.text()
263
        if old_pressure != new_pressure:
264
            self._modified = True
265
            return
266

  
267
        old_elevation = self.ui.lineEdit_N5_Elevation.placeholderText()
268
        new_elevation = self.ui.lineEdit_N5_Elevation.text()
269
        if old_elevation != new_elevation:
270
            self._modified = True
271
            return
272

  
273
        old_pressure = self.ui.lineEdit_N6_Pressure.placeholderText()
274
        new_pressure = self.ui.lineEdit_N6_Pressure.text()
275
        if old_pressure != new_pressure:
276
            self._modified = True
277
            return
278

  
279
        old_elevation = self.ui.lineEdit_N6_Elevation.placeholderText()
280
        new_elevation = self.ui.lineEdit_N6_Elevation.text()
281
        if old_elevation != new_elevation:
282
            self._modified = True
283
            return
284

  
285
        old_pressure = self.ui.lineEdit_N7_Pressure.placeholderText()
286
        new_pressure = self.ui.lineEdit_N7_Pressure.text()
287
        if old_pressure != new_pressure:
288
            self._modified = True
289
            return
290

  
291
        old_elevation = self.ui.lineEdit_N7_Elevation.placeholderText()
292
        new_elevation = self.ui.lineEdit_N7_Elevation.text()
293
        if old_elevation != new_elevation:
294
            self._modified = True
295
            return
296

  
297
        old_pressure = self.ui.lineEdit_N8_Pressure.placeholderText()
298
        new_pressure = self.ui.lineEdit_N8_Pressure.text()
299
        if old_pressure != new_pressure:
300
            self._modified = True
301
            return
302

  
303
        old_elevation = self.ui.lineEdit_N8_Elevation.placeholderText()
304
        new_elevation = self.ui.lineEdit_N8_Elevation.text()
305
        if old_elevation != new_elevation:
306
            self._modified = True
307
            return
308

  
309
        old_pressure = self.ui.lineEdit_N9_Pressure.placeholderText()
310
        new_pressure = self.ui.lineEdit_N9_Pressure.text()
311
        if old_pressure != new_pressure:
312
            self._modified = True
313
            return
314

  
315
        old_elevation = self.ui.lineEdit_N9_Elevation.placeholderText()
316
        new_elevation = self.ui.lineEdit_N9_Elevation.text()
317
        if old_elevation != new_elevation:
318
            self._modified = True
319
            return
320

  
321
        old_pressure = self.ui.lineEdit_N10_Pressure.placeholderText()
322
        new_pressure = self.ui.lineEdit_N10_Pressure.text()
323
        if old_pressure != new_pressure:
324
            self._modified = True
325
            return
326

  
327
        old_elevation = self.ui.lineEdit_N10_Elevation.placeholderText()
328
        new_elevation = self.ui.lineEdit_N10_Elevation.text()
329
        if old_elevation != new_elevation:
330
            self._modified = True
331
            return
332

  
203 333
    def load_data(self):
204 334
        """ load tag no and nozzle data """
205 335
        tag_no = self._item.tag_no
206 336
        if tag_no != 'None' and is_not_blank(tag_no):
207 337
            self.ui.lineEdit_TagNo.setText(tag_no)
338
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
208 339

  
209 340
        app_doc_data = AppDocData.instance()
210 341
        drawing = app_doc_data.activeDrawing
......
221 352
                if pressure is not None:
222 353
                    if index == 1:
223 354
                        self.ui.lineEdit_N1_Pressure.setText(str(convert_to_fixed_point(pressure)))
355
                        self.ui.lineEdit_N1_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
224 356
                    elif index == 2:
225 357
                        self.ui.lineEdit_N2_Pressure.setText(str(convert_to_fixed_point(pressure)))
358
                        self.ui.lineEdit_N2_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
226 359
                    elif index == 3:
227 360
                        self.ui.lineEdit_N3_Pressure.setText(str(convert_to_fixed_point(pressure)))
361
                        self.ui.lineEdit_N3_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
228 362
                    elif index == 4:
229 363
                        self.ui.lineEdit_N4_Pressure.setText(str(convert_to_fixed_point(pressure)))
364
                        self.ui.lineEdit_N4_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
230 365
                    elif index == 5:
231 366
                        self.ui.lineEdit_N5_Pressure.setText(str(convert_to_fixed_point(pressure)))
367
                        self.ui.lineEdit_N5_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
232 368
                    elif index == 6:
233 369
                        self.ui.lineEdit_N6_Pressure.setText(str(convert_to_fixed_point(pressure)))
370
                        self.ui.lineEdit_N6_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
234 371
                    elif index == 7:
235 372
                        self.ui.lineEdit_N7_Pressure.setText(str(convert_to_fixed_point(pressure)))
373
                        self.ui.lineEdit_N7_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
236 374
                    elif index == 8:
237 375
                        self.ui.lineEdit_N8_Pressure.setText(str(convert_to_fixed_point(pressure)))
376
                        self.ui.lineEdit_N8_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
238 377
                    elif index == 9:
239 378
                        self.ui.lineEdit_N9_Pressure.setText(str(convert_to_fixed_point(pressure)))
379
                        self.ui.lineEdit_N9_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
240 380
                    elif index == 10:
241 381
                        self.ui.lineEdit_N10_Pressure.setText(str(convert_to_fixed_point(pressure)))
382
                        self.ui.lineEdit_N10_Pressure.setPlaceholderText(str(convert_to_fixed_point(pressure)))
242 383

  
243 384
                elevation = connector.data.elevation
244 385
                if elevation is not None:
245 386
                    if index == 1:
246 387
                        self.ui.lineEdit_N1_Elevation.setText(str(convert_to_fixed_point(elevation)))
388
                        self.ui.lineEdit_N1_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
247 389
                    elif index == 2:
248 390
                        self.ui.lineEdit_N2_Elevation.setText(str(convert_to_fixed_point(elevation)))
391
                        self.ui.lineEdit_N2_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
249 392
                    elif index == 3:
250 393
                        self.ui.lineEdit_N3_Elevation.setText(str(convert_to_fixed_point(elevation)))
394
                        self.ui.lineEdit_N3_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
251 395
                    elif index == 4:
252 396
                        self.ui.lineEdit_N4_Elevation.setText(str(convert_to_fixed_point(elevation)))
397
                        self.ui.lineEdit_N4_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
253 398
                    elif index == 5:
254 399
                        self.ui.lineEdit_N5_Elevation.setText(str(convert_to_fixed_point(elevation)))
400
                        self.ui.lineEdit_N5_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
255 401
                    elif index == 6:
256 402
                        self.ui.lineEdit_N6_Elevation.setText(str(convert_to_fixed_point(elevation)))
403
                        self.ui.lineEdit_N6_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
257 404
                    elif index == 7:
258 405
                        self.ui.lineEdit_N7_Elevation.setText(str(convert_to_fixed_point(elevation)))
406
                        self.ui.lineEdit_N7_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
259 407
                    elif index == 8:
260 408
                        self.ui.lineEdit_N8_Elevation.setText(str(convert_to_fixed_point(elevation)))
409
                        self.ui.lineEdit_N8_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
261 410
                    elif index == 9:
262 411
                        self.ui.lineEdit_N9_Elevation.setText(str(convert_to_fixed_point(elevation)))
412
                        self.ui.lineEdit_N9_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
263 413
                    elif index == 10:
264 414
                        self.ui.lineEdit_N10_Elevation.setText(str(convert_to_fixed_point(elevation)))
415
                        self.ui.lineEdit_N10_Elevation.setPlaceholderText(str(convert_to_fixed_point(elevation)))
265 416

  
266 417
    def accept(self):
418
        """ check changed value """
419
        self.is_modified()
420

  
267 421
        """ set tag no and nozzle data """
268 422
        from EngineeringConnectorItem import NozzleData
269 423
        tag_no = self.ui.lineEdit_TagNo.text()
......
422 576

  
423 577
    def reject(self):
424 578
        QDialog.reject(self)
579

  
HYTOS/HYTOS/Drum_Vertical.py
56 56
        self.ui = Drum_Vertical_UI.Ui_Drum_VerticalDialog()
57 57
        self.ui.setupUi(self)
58 58
        self._item = None
59
        self._modified = False
59 60

  
60 61
        self.ui.lineEdit_N1_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N1_Pressure))
61 62
        self.ui.lineEdit_N2_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_N2_Pressure))
......
92 93
        self.ui.lineEdit_TagNo.setFocus()
93 94
        self.set_controls()
94 95
        self.load_data()
96
        self.exec_()
95 97

  
96
        return self.exec_()
98
        return self._modified
97 99

  
98 100
    def initialize(self):
99 101
        # To do : 이름으로 Control 찾아오기
......
224 226
                    self.ui.lineEdit_N12_Pressure.setEnabled(True)
225 227
                    self.ui.lineEdit_N12_Elevation.setEnabled(True)
226 228

  
229
    def is_modified(self):
230
        """ Tag No 도 Output Explorer에 사용되기에 Modified 적용"""
231
        old_tag_no = self.ui.lineEdit_TagNo.placeholderText()
232
        new_tag_no = self.ui.lineEdit_TagNo.text()
233
        if old_tag_no != new_tag_no:
234
            self._modified = True
235
            return
236

  
237
        old_pressure = self.ui.lineEdit_N1_Pressure.placeholderText()
238
        new_pressure = self.ui.lineEdit_N1_Pressure.text()
239
        if old_pressure != new_pressure:
240
            self._modified = True
241
            return
242

  
243
        old_elevation = self.ui.lineEdit_N1_Elevation.placeholderText()
244
        new_elevation = self.ui.lineEdit_N1_Elevation.text()
245
        if old_elevation != new_elevation:
246
            self._modified = True
247
            return
248

  
249
        old_pressure = self.ui.lineEdit_N2_Pressure.placeholderText()
250
        new_pressure = self.ui.lineEdit_N2_Pressure.text()
251
        if old_pressure != new_pressure:
252
            self._modified = True
253
            return
254

  
255
        old_elevation = self.ui.lineEdit_N2_Elevation.placeholderText()
256
        new_elevation = self.ui.lineEdit_N2_Elevation.text()
257
        if old_elevation != new_elevation:
258
            self._modified = True
259
            return
260

  
261
        old_pressure = self.ui.lineEdit_N3_Pressure.placeholderText()
262
        new_pressure = self.ui.lineEdit_N3_Pressure.text()
263
        if old_pressure != new_pressure:
264
            self._modified = True
265
            return
266

  
267
        old_elevation = self.ui.lineEdit_N3_Elevation.placeholderText()
268
        new_elevation = self.ui.lineEdit_N3_Elevation.text()
269
        if old_elevation != new_elevation:
270
            self._modified = True
271
            return
272

  
273
        old_pressure = self.ui.lineEdit_N4_Pressure.placeholderText()
274
        new_pressure = self.ui.lineEdit_N4_Pressure.text()
275
        if old_pressure != new_pressure:
276
            self._modified = True
277
            return
278

  
279
        old_elevation = self.ui.lineEdit_N4_Elevation.placeholderText()
280
        new_elevation = self.ui.lineEdit_N4_Elevation.text()
281
        if old_elevation != new_elevation:
282
            self._modified = True
283
            return
284

  
285
        old_pressure = self.ui.lineEdit_N5_Pressure.placeholderText()
286
        new_pressure = self.ui.lineEdit_N5_Pressure.text()
287
        if old_pressure != new_pressure:
288
            self._modified = True
289
            return
290

  
291
        old_elevation = self.ui.lineEdit_N5_Elevation.placeholderText()
292
        new_elevation = self.ui.lineEdit_N5_Elevation.text()
293
        if old_elevation != new_elevation:
294
            self._modified = True
295
            return
296

  
297
        old_pressure = self.ui.lineEdit_N6_Pressure.placeholderText()
298
        new_pressure = self.ui.lineEdit_N6_Pressure.text()
299
        if old_pressure != new_pressure:
300
            self._modified = True
301
            return
302

  
303
        old_elevation = self.ui.lineEdit_N6_Elevation.placeholderText()
304
        new_elevation = self.ui.lineEdit_N6_Elevation.text()
305
        if old_elevation != new_elevation:
306
            self._modified = True
307
            return
308

  
309
        old_pressure = self.ui.lineEdit_N7_Pressure.placeholderText()
310
        new_pressure = self.ui.lineEdit_N7_Pressure.text()
311
        if old_pressure != new_pressure:
312
            self._modified = True
313
            return
314

  
315
        old_elevation = self.ui.lineEdit_N7_Elevation.placeholderText()
316
        new_elevation = self.ui.lineEdit_N7_Elevation.text()
317
        if old_elevation != new_elevation:
318
            self._modified = True
319
            return
320

  
321
        old_pressure = self.ui.lineEdit_N8_Pressure.placeholderText()
322
        new_pressure = self.ui.lineEdit_N8_Pressure.text()
323
        if old_pressure != new_pressure:
324
            self._modified = True
325
            return
326

  
327
        old_elevation = self.ui.lineEdit_N8_Elevation.placeholderText()
328
        new_elevation = self.ui.lineEdit_N8_Elevation.text()
329
        if old_elevation != new_elevation:
330
            self._modified = True
331
            return
332

  
333
        old_pressure = self.ui.lineEdit_N9_Pressure.placeholderText()
334
        new_pressure = self.ui.lineEdit_N9_Pressure.text()
335
        if old_pressure != new_pressure:
336
            self._modified = True
337
            return
338

  
339
        old_elevation = self.ui.lineEdit_N9_Elevation.placeholderText()
340
        new_elevation = self.ui.lineEdit_N9_Elevation.text()
341
        if old_elevation != new_elevation:
342
            self._modified = True
343
            return
344

  
345
        old_pressure = self.ui.lineEdit_N10_Pressure.placeholderText()
346
        new_pressure = self.ui.lineEdit_N10_Pressure.text()
347
        if old_pressure != new_pressure:
348
            self._modified = True
349
            return
350

  
351
        old_elevation = self.ui.lineEdit_N10_Elevation.placeholderText()
352
        new_elevation = self.ui.lineEdit_N10_Elevation.text()
353
        if old_elevation != new_elevation:
354
            self._modified = True
355
            return
356

  
357
        old_pressure = self.ui.lineEdit_N11_Pressure.placeholderText()
358
        new_pressure = self.ui.lineEdit_N11_Pressure.text()
359
        if old_pressure != new_pressure:
360
            self._modified = True
361
            return
362

  
363
        old_elevation = self.ui.lineEdit_N11_Elevation.placeholderText()
364
        new_elevation = self.ui.lineEdit_N11_Elevation.text()
365
        if old_elevation != new_elevation:
366
            self._modified = True
367
            return
368

  
369
        old_pressure = self.ui.lineEdit_N12_Pressure.placeholderText()
370
        new_pressure = self.ui.lineEdit_N12_Pressure.text()
371
        if old_pressure != new_pressure:
372
            self._modified = True
373
            return
374

  
375
        old_elevation = self.ui.lineEdit_N12_Elevation.placeholderText()
376
        new_elevation = self.ui.lineEdit_N12_Elevation.text()
377
        if old_elevation != new_elevation:
378
            self._modified = True
379
            return
380

  
227 381
    def load_data(self):
228 382
        """ load tag no and nozzle data """
229 383
        tag_no = self._item.tag_no
230 384
        if tag_no != 'None' and is_not_blank(tag_no):
231 385
            self.ui.lineEdit_TagNo.setText(tag_no)
386
            self.ui.lineEdit_TagNo.setPlaceholderText(tag_no)
232 387

  
233 388
        app_doc_data = AppDocData.instance()
234 389
        drawing = app_doc_data.activeDrawing
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff