프로젝트

일반

사용자정보

개정판 8e081310

ID8e08131040dfc63177addb123789a39bbfcf186a
상위 a13021e5
하위 789742ab

함의성이(가) 4년 이상 전에 추가함

issue #563: change line size

Change-Id: I85d096d46dee0c408e378b972bfeec30beca88b5

차이점 보기:

DTI_PID/DTI_PID/Scripts/MSSQL/ID2.sql
2343 2343
INSERT INTO SymbolAttribute (UID,SymbolType_UID,"Attribute",DisplayAttribute,AttributeType,Expression,"index",AttrAt,"Length",Target,Property) VALUES (
2344 2344
'0b37b3a1-ae56-4f4a-b7e5-587f36469802','0','UnitNumber','UnitNumber','Text Item','item.text()',5,5,NULL,'ALL',3);
2345 2345
INSERT INTO SymbolAttribute (UID,SymbolType_UID,"Attribute",DisplayAttribute,AttributeType,Expression,"index",AttrAt,"Length",Target,Property) VALUES (
2346
'aa8f1cab-de52-41da-8905-553bcf6513c5','0','NominalDiameter','NominalDiameter','Size Text Item','item.text()',0,0,NULL,'ALL',3);
2346
'aa8f1cab-de52-41da-8905-553bcf6513c5','0','NominalDiameter','NominalDiameter','Size Text Item','self.EvaluatedSize',0,0,NULL,'ALL',3);
2347 2347
INSERT INTO SymbolAttribute (UID,SymbolType_UID,"Attribute",DisplayAttribute,AttributeType,Expression,"index",AttrAt,"Length",Target,Property) VALUES (
2348 2348
'6d63a700-8918-443d-975b-f16eaa28c21d','17','Opening Action','Opening Action','Text Item','item.text()',1,0,NULL,'ALL',0);
2349 2349
INSERT INTO SymbolAttribute (UID,SymbolType_UID,"Attribute",DisplayAttribute,AttributeType,Expression,"index",AttrAt,"Length",Target,Property) VALUES (
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
288 288
                            if item.Size: return item.Size
289 289
                        prev = item
290 290

  
291
                    if 'Drain' == matches[0].Type: return AppDocData.instance().drain_size
291
                    if 'Drain' == matches[0].Type:
292
                        return AppDocData.instance().drain_size
292 293

  
293 294
                return self.owner.Size
294 295

  
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py
57 57
            self._lineType = None
58 58
            self.lineType = configs[0].value if 1 == len(configs) else 'Secondary'  # default line type is 'Secondary'
59 59

  
60
            self._properties = {SymbolProp(None, 'Size', 'Size Text Item', Expression='self.EvaluatedSize'): None}
60
            #self._properties = {SymbolProp(None, 'Size', 'Size Text Item', Expression='self.EvaluatedSize'): None}
61
            self._properties = {}
61 62

  
62 63
            self.setFlags(QGraphicsItem.ItemIsSelectable | QGraphicsItem.ItemIsFocusable)
63 64

  

내보내기 Unified diff

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