프로젝트

일반

사용자정보

개정판 e46783af

IDe46783afdb3c95db71dfa47461b2969919f445f0
상위 e2194a0c
하위 d60622f8, 96df8663

백흠경이(가) 약 6년 전에 추가함

issue #587: support size text item for symbol

Change-Id: I454fdd5e02027fbb57eeb8fa3825d4a8e98651a2

차이점 보기:

DTI_PID/DTI_PID/SymbolAttrEditorDialog.py
21 21
    This is symbol attribute editor dialog class
22 22
    """
23 23
    
24
    SYMBOL_ATTR_DATA_TYPES = {'Symbol Item':-1, 'Text Item':-1, 'Tag No':-1, 'Valve Oper Code':-1, 'Comp Item':-1, 'Int':1, 'String':1}
24
    SYMBOL_ATTR_DATA_TYPES = {'Symbol Item':-1, 'Size Text Item':-1, 'Text Item':-1, 'Tag No':-1, 'Valve Oper Code':-1, 'Comp Item':-1, 'Int':1, 'String':1}
25 25

  
26 26
    def __init__(self, parent, symbolType = None):
27 27
        QDialog.__init__(self, parent)
......
113 113

  
114 114
        row = 0
115 115
        for attr in attrs:
116
            item = QTableWidgetItem(attr.UID)    # UID
116
            item = QTableWidgetItem(attr.UID)                   # UID
117 117
            self.ui.tableWidgetAttr.setItem(row, 0, item)
118
            item = QTableWidgetItem(attr.Attribute)    # Name
118
            item = QTableWidgetItem(attr.Attribute)             # Name
119 119
            self.ui.tableWidgetAttr.setItem(row, 1, item)
120
            item = QTableWidgetItem(attr.DisplayAttribute)    # Display Name
120
            item = QTableWidgetItem(attr.DisplayAttribute)      # Display Name
121 121
            self.ui.tableWidgetAttr.setItem(row, 2, item)
122 122

  
123 123
            attrTypeComboBox = QComboBox()

내보내기 Unified diff

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