diff options
author | sumit | 2020-06-03 16:25:49 +0530 |
---|---|---|
committer | sumit | 2020-06-03 16:25:49 +0530 |
commit | 4c2133fdff296922fe6fc1a03462d8258564bd82 (patch) | |
tree | fe6c84620325967df3835599e9b4f2e2303d94a1 | |
parent | 1c5b2f668cd526dfcc0901124daef2dc041b447e (diff) | |
download | Chemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.tar.gz Chemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.tar.bz2 Chemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.zip |
added id for svg item
-rw-r--r-- | src/main/python/shapes/shapes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py index 3237e72..94b9eb1 100644 --- a/src/main/python/shapes/shapes.py +++ b/src/main/python/shapes/shapes.py @@ -289,6 +289,7 @@ class NodeItem(QGraphicsSvgItem): def __init__(self, unitOperationType, parent=None): QGraphicsSvgItem.__init__(self, parent) self.m_type = unitOperationType + self.id =None # self.m_renderer = QSvgRenderer("svg/" + unitOperationType + ".svg") # self.m_renderer = QSvgRenderer(fileImporter(f'svg/{unitOperationType}.svg')) self.m_renderer = QSvgRenderer(fileImporter(f'svg/ellipse.svg')) |