프로젝트

일반

사용자정보

개정판 640b954a

ID640b954a494dff108e03b92537f0127993b86315
상위 2d281002
하위 606f47be

함의성이(가) 약 6년 전에 추가함

issue #000: fix minor bug open progress bar, save

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
650 650
        msg.setWindowTitle(self.tr("항목 삭제"))
651 651
        msg.setStandardButtons(QMessageBox.Ok|QMessageBox.Cancel)
652 652
        if QMessageBox.Ok == msg.exec_():
653

  
654
            appDocData = AppDocData.instance()
655
            appDocData.clearItemList(True)
656

  
653 657
            items = self.graphicsView.scene.items()
654 658
            for item in items:
655 659
                if type(item) is not QGraphicsPixmapItem:
......
866 870
    '''
867 871
    def onOpenImageDrawing(self, path=None):
868 872
        from Drawing import Drawing
873
        from xml.etree.ElementTree import Element, SubElement, dump, ElementTree, parse
869 874

  
870 875
        try:
871 876
            appDocData = AppDocData.instance()
......
895 900

  
896 901
                ## Load data on xml
897 902
                path = os.path.join(appDocData.getCurrentProject().getTempPath(), appDocData.imgName + '.xml')
898
                if os.path.isfile(path):
903
                if os.path.isfile(path) and len(parse(path).getroot().getchildren()) > 9:
899 904
                    try:
900 905
                        self.progress = QProgressDialog(self.tr("Please wait for a while"), self.tr("Cancel"), 0, 100, self) if not hasattr(self, 'progress') else self.progress
901 906
                        self.progress.setWindowModality(Qt.WindowModal)
DTI_PID/DTI_PID/translate/ko_kr.ts
34 34
        <translation type="unfinished"></translation>
35 35
    </message>
36 36
    <message>
37
        <location filename="../SymbolEditor_UI.py" line="529"/>
38
        <source>Original Point</source>
39
        <translation type="unfinished"></translation>
40
    </message>
41
    <message>
42
        <location filename="../SymbolEditor_UI.py" line="531"/>
43
        <source>Connection Point</source>
44
        <translation type="unfinished"></translation>
45
    </message>
46
    <message>
37 47
        <location filename="../SymbolEditor_UI.py" line="520"/>
38 48
        <source>심볼명</source>
39 49
        <translation type="unfinished"></translation>
......
79 89
        <translation type="unfinished"></translation>
80 90
    </message>
81 91
    <message>
82
        <location filename="../SymbolEditor_UI.py" line="529"/>
83
        <source>Original Point</source>
84
        <translation type="unfinished"></translation>
85
    </message>
86
    <message>
87
        <location filename="../SymbolEditor_UI.py" line="531"/>
88
        <source>Connection Point</source>
89
        <translation type="unfinished"></translation>
90
    </message>
91
    <message>
92 92
        <location filename="../SymbolEditor_UI.py" line="533"/>
93 93
        <source>삭제</source>
94 94
        <translation type="unfinished"></translation>
......
400 400
    </message>
401 401
    <message>
402 402
        <location filename="../MainWindow.py" line="654"/>
403
        <source>선택한 인식한 항목들을 삭제하시겠습니까?
404
삭제된 항목들은 복구할 수 없습니다.</source>
403
        <source>ì„&#xa0;택한 인식한 항목들을 삭ì&#xa0;œí•˜ì‹œê²&#xa0;습니까?
404
삭ì&#xa0;œëœ 항목들은 복구í•&#xa0; 수 없습니다.</source>
405 405
        <translation type="unfinished"></translation>
406 406
    </message>
407 407
    <message>
408 408
        <location filename="../MainWindow.py" line="655"/>
409
        <source>항목 삭제</source>
409
        <source>항목 삭ì&#xa0;œ</source>
410 410
        <translation type="unfinished"></translation>
411 411
    </message>
412 412
    <message>

내보내기 Unified diff

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