프로젝트

일반

사용자정보

개정판 a93adaa4

IDa93adaa4cff34a81ad08ecf8c56277c3f23babb1
상위 485040d4
하위 8833bfd4

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

main line

Change-Id: I6cb780c766054c76ae12b60acbf66301846b609e

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
635 635
        @date       2018.10.05
636 636
        @history    2018.10.16 euisung      no more used, Integrated with oCRTrainingClicked
637 637
    '''
638

  
639 638
    def oCRTrainingEdidorClicked(self):
640 639
        from TrainingEditorDialog import QTrainingEditorDialog
641 640

  
......
655 654
        @date       2018.09.27
656 655
        @history    euisung 2018.10.16 TrainingListDialog -> TrainingImageListDialog
657 656
    '''
658

  
659 657
    def oCRTrainingClicked(self):
660 658
        try:
661 659
            dialog = QTrainingImageListDialog(self)
......
833 831
            @author     humkyung
834 832
            @date       2018.08.08
835 833
    '''
836

  
837 834
    def on_success_to_recognize_line(self, x, y, width, height):
838 835
        import io
839 836
        from LineDetector import LineDetector
......
1011 1008
        @author     kyouho
1012 1009
        @date       2018.07.19
1013 1010
    '''
1014

  
1015 1011
    def refreshResultPropertyTableWidget(self):
1016 1012
        items = self.graphicsView.scene().selectedItems()
1017 1013
        if len(items) == 1:
......
1022 1018
        @author humkyung
1023 1019
        @date   2018.07.31
1024 1020
    '''
1025

  
1026 1021
    def onAddMessage(self, messageType, message):
1027 1022
        from AppDocData import MessageType
1028 1023

  
......
1232 1227
        @date       2018.06.14
1233 1228
        @history    humkyung 2018.08.16 ask to delete recognized items before remove
1234 1229
    '''
1235

  
1236 1230
    def on_initialize_scene(self, action):
1237 1231
        if not self.graphicsView.hasImage():
1238 1232
            self.showImageSelectionMessageBox()
......
1303 1297
        @date       18.05.03
1304 1298
        @history    2018.05.04  Jeongwoo    Add Parameter on CreateSymbolCommand
1305 1299
    '''
1306

  
1307 1300
    def createEquipment(self):
1308 1301
        if not self.graphicsView.hasImage():
1309 1302
            self.actionEquipment.setChecked(False)
......
1321 1314
        @date       2018.05.03
1322 1315
        @history    2018.05.04  Jeongwoo    Add Parameter on CreateSymbolCommand
1323 1316
    '''
1324

  
1325 1317
    def createNozzle(self):
1326 1318
        if not self.graphicsView.hasImage():
1327 1319
            self.actionNozzle.setChecked(False)
......
1409 1401
    '''
1410 1402
        @brief  area configuration
1411 1403
    '''
1412

  
1413 1404
    def areaConfiguration(self):
1414 1405
        from ConfigurationAreaDialog import QConfigurationAreaDialog
1415 1406
        if not self.graphicsView.hasImage():
......
1423 1414
    '''
1424 1415
        @brief  configuration
1425 1416
    '''
1426

  
1427 1417
    def configuration(self):
1428 1418
        from ConfigurationDialog import QConfigurationDialog
1429 1419

  
......
1437 1427
        @author humkyung
1438 1428
        @date   2019.08.10
1439 1429
    '''
1440

  
1441 1430
    def on_show_special_item_types(self):
1442 1431
        from SpecialItemTypesDialog import QSpecialItemTypesDialog
1443 1432

  
......
1477 1466
        @author humkyung
1478 1467
        @date   2018.06.28
1479 1468
    '''
1480

  
1481 1469
    def onShowCodeTable(self):
1482 1470
        from CodeTableDialog import QCodeTableDialog
1483 1471

  
......
1555 1543
        @author humkyung
1556 1544
        @date   2018.05.03
1557 1545
    '''
1558

  
1559 1546
    def showItemDataList(self):
1560 1547
        from ItemDataExportDialog import QItemDataExportDialog
1561 1548

  
......
1586 1573
        @author Jeongwoo
1587 1574
        @date   2018.05.02
1588 1575
    '''
1589

  
1590 1576
    def showImageSelectionMessageBox(self):
1591 1577
        QMessageBox.about(self.graphicsView, self.tr("Notice"), self.tr("First select image drawing"))
1592 1578

  
......
1926 1912
        @author humkyung
1927 1913
        @date   2018.06.25
1928 1914
    '''
1929

  
1930 1915
    def onViewImageDrawing(self, isChecked):
1931 1916
        for item in self.graphicsView.scene().items():
1932 1917
            if type(item) is QGraphicsPixmapItem:
......
1968 1953
        @author humkyung
1969 1954
        @date   2018.06.28
1970 1955
    '''
1971

  
1972 1956
    def onViewUnknown(self, isChecked):
1973 1957
        selected = [item for item in self.graphicsView.scene().items() if type(item) is QEngineeringUnknownItem]
1974 1958
        for item in selected:
......
2031 2015
        @author     humkyung
2032 2016
        @date       2018.07.20
2033 2017
    '''
2034

  
2035 2018
    def onAreaSelected(self, x, y, width, height, package=False, position=None, package_item=None):
2036 2019
        try:
2037 2020
            image = self.graphicsView.image()
......
2600 2583
        @date       2018.05.25
2601 2584
        @author     Jeongwoo
2602 2585
    '''
2603

  
2604 2586
    def itemRemoved(self, item):
2605 2587
        try:
2606 2588
            if type(item) is QEngineeringErrorItem:
......
3000 2982
                    humkyung 2018.08.22 show progress while loading xml file
3001 2983
                    2018.11.22      euisung     fix note road
3002 2984
    '''
3003

  
3004 2985
    def load_recognition_result_from_xml(self, drawing):
3005 2986
        # Yield successive n-sized
3006 2987
        # chunks from l.
......
3312 3293
        @date       2018.05.29
3313 3294
        @history    2018.06.18  Jeongwoo    Set Z-index
3314 3295
    '''
3315

  
3316 3296
    def addLineItemToScene(self, lineItem):
3317 3297
        self.graphicsView.scene().addItem(lineItem)
3318 3298

  
......
3322 3302
        @date       2018.04.23
3323 3303
        @history    2018.05.02  Jeongwoo    Show MessageBox when imageviewer doesn't have image
3324 3304
    '''
3325

  
3326 3305
    def generateOutput(self):
3327 3306
        import XmlGenerator as xg
3328 3307

  
......
3369 3348
        @author     kyouho
3370 3349
        @date       2018.08.20
3371 3350
    '''
3372

  
3373 3351
    def isNumber(self, num):
3374 3352
        p = re.compile('(^[0-9]+$)')
3375 3353
        result = p.match(num)
......
3384 3362
        @author     kyouho
3385 3363
        @date       2018.08.28
3386 3364
    '''
3387

  
3388 3365
    def findOverlapConnector(self, connectorItem):
3389 3366
        from shapely.geometry import Point
3390 3367
        from EngineeringConnectorItem import QEngineeringConnectorItem

내보내기 Unified diff

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