프로젝트

일반

사용자정보

개정판 174022b7

ID174022b7af454a25cf1e88d3a43b2986f37dcff6
상위 08d0e0b1
하위 8962b899

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

issue #538: fix replace, eq package

Change-Id: I096be2a490cf188faa44e3cfe3f36e8a99e8e3c9

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
1804 1804
            #src2 = np.multiply(mask,src2)
1805 1805

  
1806 1806
            mask = np.ones((int(rect.height()), int(rect.width())), dtype=np.uint8) * 255
1807
            cv2.fillConvexPoly(mask, poly, (0))
1807
            cv2.fillPoly(mask, [poly], (0))
1808 1808
            sym_img = cv2.bitwise_or(mask, symbol_image[int(rect.y()):int(rect.y()) + int(rect.height()), int(rect.x()):int(rect.x()) + int(rect.width())])
1809 1809
            sym_img = cv2.merge((sym_img, sym_img, sym_img))
1810 1810

  
......
3059 3059
            layout.addRow(number_label, number_edit)
3060 3060
            group_box.setLayout(layout)
3061 3061

  
3062
            proxy = QGraphicsProxyWidget()
3062
            proxy = ()
3063 3063
            proxy.setWidget(group_box)
3064 3064
            self.graphicsView.scene().addItem(proxy)  # (group_box, QGraphicsItem.ItemIgnoresTransformations)
3065 3065
            """
DTI_PID/DTI_PID/ReplaceSymbolDialog.py
82 82
        replace_symbol = self.ui.comboBoxReplace.currentText()
83 83

  
84 84
        condition = self.ui.buttonGroup_2.checkedButton().objectName()
85
        if condition == 'radioButtonCustom':
85
        if condition == 'radioButtonCustom' or condition == 'radioButtonPreset':
86 86
            return False
87 87
            #conditions = [text for text in self.ui.plainTextEdit.toPlainText().split('\n')]
88 88
        else:

내보내기 Unified diff

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