summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsumit2020-06-03 16:25:49 +0530
committersumit2020-06-03 16:25:49 +0530
commit4c2133fdff296922fe6fc1a03462d8258564bd82 (patch)
treefe6c84620325967df3835599e9b4f2e2303d94a1 /src
parent1c5b2f668cd526dfcc0901124daef2dc041b447e (diff)
downloadChemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.tar.gz
Chemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.tar.bz2
Chemical-PFD-4c2133fdff296922fe6fc1a03462d8258564bd82.zip
added id for svg item
Diffstat (limited to 'src')
-rw-r--r--src/main/python/shapes/shapes.py1
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'))