개정판 756e4625
issue #000: tree color test
Change-Id: Ie65e4daeebd9776b3f77c8ec776e07ee14e4d265
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1646 | 1646 |
app_doc_data._streamLineListModelDatas = app_doc_data.get_stream_line_list_data() |
1647 | 1647 |
# up to here |
1648 | 1648 |
|
1649 |
"""update scene""" |
|
1650 |
for item in self._scene.items(): |
|
1651 |
item.setVisible(True) |
|
1652 |
|
|
1653 |
self._scene.update(self._scene.sceneRect()) |
|
1654 |
|
|
1649 | 1655 |
""""update item tree widget""" |
1650 | 1656 |
line_no_items = [item for item in self.graphicsView.scene().items() |
1651 | 1657 |
if type(item) is QEngineeringLineNoTextItem] |
... | ... | |
1676 | 1682 |
self.itemTreeWidget.expandAll() |
1677 | 1683 |
"""up to here""" |
1678 | 1684 |
|
1679 |
"""update scene""" |
|
1680 |
for item in self._scene.items(): |
|
1681 |
item.setVisible(True) |
|
1682 |
|
|
1683 |
self._scene.update(self._scene.sceneRect()) |
|
1684 |
|
|
1685 | 1685 |
""" |
1686 | 1686 |
# old open drawing |
1687 | 1687 |
path = os.path.join(app_doc_data.getCurrentProject().getTempPath(), app_doc_data.imgName + '.xml') |
내보내기 Unified diff