프로젝트

일반

사용자정보

개정판 81d2706d

ID81d2706da02bdd86b37c10315ddf9f998b11bba6
상위 e17d4c6f
하위 ae90a35e

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

add text area sort

Change-Id: Ie275055bf7eadb4bd531b8d85630b26a10c3539d

차이점 보기:

DTI_PID/DTI_PID/AppDocData.py
1017 1017
                    # Get a cursor object
1018 1018
                    cursor = conn.cursor()
1019 1019

  
1020
                    sql = "select UID, Name, AREA, [TEXT] from TitleBlockProperties"
1020
                    sql = "select UID, Name, AREA, [TEXT] from TitleBlockProperties ASC"
1021 1021
                    cursor.execute(sql)
1022 1022
                    rows = cursor.fetchall()
1023 1023
                    for row in rows:
DTI_PID/DTI_PID/ItemPropertyTableWidget.py
448 448
                    for title_area in title_area_list:
449 449
                        area = Area(title_area[1], title_area[0])
450 450
                        title_list.append(area)
451
                for area in area_list + title_list:
451
                areas = area_list + title_list
452
                areas.sort(key=lambda x: x.name)
453
                for area in areas:
452 454
                    self._areaComboBox.addItem(area.name)
453 455
                self.setCellWidget(4, 3, self._areaComboBox)
454 456
                name = [area.name for area in area_list + title_list if item.area == area.uid]

내보내기 Unified diff

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