개정판 d1203992
sym tree test
Change-Id: I68d4fdae11ccfb0bb9db8497b17b9a2af2baa4ba
DTI_PID/DTI_PID/ItemTreeWidget.py | ||
---|---|---|
631 | 631 |
type(item) is not QEngineeringEndBreakItem and |
632 | 632 |
type(item) is not QEngineeringFlowMarkItem) or |
633 | 633 |
(type(item) is QEngineeringNoteItem) or (type(item) is QEngineeringLineNoTextItem) or |
634 |
(type(item) is QEngineeringUnknownItem)) or (type(item) is QEngineeringVendorItem) and
|
|
634 |
(type(item) is QEngineeringUnknownItem) or (type(item) is QEngineeringVendorItem)) and
|
|
635 | 635 |
(not hasattr(item, 'treeItem') or item.treeItem is None)] |
636 | 636 |
first = [item for item in changedSceneItems if item.owner is None] |
637 | 637 |
second = [item for item in changedSceneItems if item.owner is not None] |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1896 | 1896 |
item = items[-1] if not lineNos else lineNos[0] |
1897 | 1897 |
self.itemTreeWidget.findItem(item) |
1898 | 1898 |
self.resultPropertyTableWidget.show_item_property(item) |
1899 |
#self.symbolListTreeWidget.findItem(item)
|
|
1900 |
#self.resultProperty2TableWidget.show_item_property(item)
|
|
1899 |
self.symbolListTreeWidget.findItem(item) |
|
1900 |
self.resultProperty2TableWidget.show_item_property(item) |
|
1901 | 1901 |
if type(item) is QEngineeringErrorItem: |
1902 | 1902 |
for index in range(self.tableWidgetInconsistency.rowCount()): |
1903 | 1903 |
if self.tableWidgetInconsistency.item(index, 1).tag is item: |
... | ... | |
1908 | 1908 |
#self.symbolTreeWidget.select_symbol(item) |
1909 | 1909 |
else: |
1910 | 1910 |
self.resultPropertyTableWidget.show_item_property(None) |
1911 |
#self.resultProperty2TableWidget.show_item_property(None)
|
|
1911 |
self.resultProperty2TableWidget.show_item_property(None) |
|
1912 | 1912 |
|
1913 | 1913 |
''' |
1914 | 1914 |
@brief Initialize scene and itemTreeWidget |
내보내기 Unified diff