프로젝트

일반

사용자정보

개정판 796570a1

ID796570a1174df2a7c52ef17d9b4c60e9d229c715
상위 42000be5
하위 1c0bd54f

함의성이(가) 7달 전에 추가함

add title text find

Change-Id: I8dc4c8b00fe365c0b7791a395936e0caf49154da

차이점 보기:

DTI_PID/DTI_PID/TextItemEditDialog.py
412 412
                        text_items = list(duplication.values())
413 413
                    elif text.upper() == 'AREA':
414 414
                        text_items = [item for item in self.mainWindow.graphicsView.scene().items() if issubclass(type(item), QEngineeringTextItem) and item.area and item.area != 'None']
415
                    elif text.upper() == 'TITLE':
416
                        app_doc_data = AppDocData.instance()
417
                        title_areas = app_doc_data.getTitleBlockProperties()
418
                        title_areas = [area[0] for area in title_areas]
419
                        text_items = [item for item in self.mainWindow.graphicsView.scene().items() if issubclass(type(item), QEngineeringTextItem) and item.area in title_areas]
415 420
                    else:
416 421
                        text_items = [item for item in self.mainWindow.graphicsView.scene().items()
417 422
                                    if issubclass(type(item), QEngineeringTextItem) and (item.text().upper().count(text.upper()) if not self.ui.checkBoxMatch.isChecked() else item.text().upper() == text.upper())]

내보내기 Unified diff

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