개정판 a2a8acc5
issue #1054 하단 스트림 데이터 테이블에서 값을 입력할 수 있다
Change-Id: I0cfb860e72141c1c094638d698b521a9e0ea7275
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
287 | 287 |
if self.tableWidgetHMB.isColumnHidden(col): |
288 | 288 |
continue |
289 | 289 | |
290 |
for row in range(1, 23): |
|
290 |
components_uid = self.tableWidgetHMB.item(1, col).text() |
|
291 |
hmb = drawing.hmbTable.get_hmb_data(components_uid) |
|
292 | ||
293 |
for row in range(2, 23): |
|
291 | 294 |
item = self.tableWidgetHMB.item(row, col) |
292 | 295 |
if Qt.magenta != item.background(): |
293 | 296 |
continue |
... | ... | |
298 | 301 |
value = float(value) if value and type(origin_value) is float else value |
299 | 302 | |
300 | 303 |
item.setBackground(Qt.white) |
301 |
if row == 1: # components_uid |
|
302 |
hmb = drawing.hmbTable.get_hmb_data(value) |
|
303 |
elif row == 3: |
|
304 |
if row == 3: |
|
304 | 305 |
hmb.phase_type = value |
305 | 306 |
elif row == 4: |
306 | 307 |
hmb.flowrate_mass = value |
version.rc | ||
---|---|---|
7 | 7 |
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) |
8 | 8 |
# Set not needed items to zero 0. |
9 | 9 |
# Local Build $BUILD_NUMBER=0 |
10 |
filevers=(3,0,7,0),
|
|
11 |
prodvers=(3,0,7,0),
|
|
10 |
filevers=(3,0,8,0),
|
|
11 |
prodvers=(3,0,8,0),
|
|
12 | 12 |
# Contains a bitmask that specifies the valid bits 'flags'r |
13 | 13 |
mask=0x3f, |
14 | 14 |
# Contains a bitmask that specifies the Boolean attributes of the file. |
... | ... | |
32 | 32 |
u'040904B0', |
33 | 33 |
[StringStruct(u'CompanyName', u'SECL'), |
34 | 34 |
StringStruct(u'FileDescription', u'Hydraulic Calculator'), |
35 |
StringStruct(u'FileVersion', u'3.0.7.0'),
|
|
35 |
StringStruct(u'FileVersion', u'3.0.8.0'),
|
|
36 | 36 |
StringStruct(u'InternalName', u'HYTOS'), |
37 | 37 |
StringStruct(u'LegalCopyright', u'Copyright(c) SECL'), |
38 | 38 |
StringStruct(u'OriginalFilename', u'HYTOS.exe'), |
39 | 39 |
StringStruct(u'ProductName', u'HYTOS'), |
40 |
StringStruct(u'ProductVersion', u'3.0.7.0')])
|
|
40 |
StringStruct(u'ProductVersion', u'3.0.8.0')])
|
|
41 | 41 |
]), |
42 | 42 |
VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) |
43 | 43 |
] |
내보내기 Unified diff