프로젝트

일반

사용자정보

개정판 128dbac3

ID128dbac3ca3849ef66c947d8ee78b5e9f5f9bad8
상위 d5ec4d0f
하위 a21d65cb, 98b11938

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

issue #589: flow mark before remaster

Change-Id: I5729c2509fd789d3b4085abe961a7acced09209f

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
388 388
        lineIndicator = []
389 389
        vendor_packages = [item for item in worker.graphicsView.scene.items() if type(item) is QEngineeringVendorItem]
390 390
        end_breaks = []
391
        flow_marks = []
391
        #flow_marks = []
392 392

  
393 393
        for end_break in [item for item in worker.graphicsView.scene.items() if type(item) is QEngineeringEndBreakItem]:
394 394
            if not end_break.prop('Freeze'):
......
548 548
                        end_break.transfer.onRemoved.connect(App.mainWnd().itemRemoved)
549 549
                        end_break.addSvgItemToScene(worker.graphicsView.scene)
550 550
        
551
        '''
551 552
        """make flow mark"""
552
        line_names = docdata.getSymbolListByType('type', 'Line')
553
        line_names = docdata.getSymbolListByType('type', 'Flow Mark')
553 554
        if len(line_names) is not 0:
554 555
                
555 556
            svgFileName = line_names[0].sName
......
605 606
                if not flow_mark.prop('Freeze'):
606 607
                    flow_mark.transfer.onRemoved.connect(App.mainWnd().itemRemoved)
607 608
                    flow_mark.addSvgItemToScene(worker.graphicsView.scene)
609
            '''
608 610

  
609 611
    except Exception as ex:
610 612
        from App import App 
DTI_PID/DTI_PID/MainWindow.py
1632 1632
                        break
1633 1633
                if done: break
1634 1634

  
1635
            if type(item) is QEngineeringFlowMarkItem and item.parentItem():
1636
                if item in item.parentItem()._flowMark:
1637
                    item.parentItem()._flowMark.pop(item.parentItem()._flowMark.index(item))
1635
            #if type(item) is QEngineeringFlowMarkItem and item.parentItem():
1636
            #    if item in item.parentItem()._flowMark:
1637
            #        item.parentItem()._flowMark.pop(item.parentItem()._flowMark.index(item))
1638 1638

  
1639 1639
            if item.scene() is not None: item.scene().removeItem(item)
1640 1640
        except Exception as ex:

내보내기 Unified diff

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