summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy')
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy14
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
index aa11f970..fc01b542 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
@@ -4,7 +4,7 @@
<Author data="Dmitry Poplavsky"/>
<Title data="Python"/>
<Id data="Python"/>
- <Description data="Basic flowcharting card tqshape"/>
+ <Description data="Basic flowcharting card shape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="[email protected]"/>
@@ -40,7 +40,7 @@ connector_targets = [ { "x":x+2, "y":y-2 },
]
-tqshapes = {
+shapes = {
"rect" :{
"type" : "Rectangle",
"fillstyle" : "solid",
@@ -96,12 +96,12 @@ connector_targets = [ { "x":x+2, "y":y-2 },
{ "x":(x+x2)/2, "y":y }
]
-tqshapes["rect2"]["x"] = x+w-35
-tqshapes["rect2"]["y"] = y+h-35
-tqshapes["rect2"]["w"] = 20
-tqshapes["rect2"]["h"] = 20
+shapes["rect2"]["x"] = x+w-35
+shapes["rect2"]["y"] = y+h-35
+shapes["rect2"]["w"] = 20
+shapes["rect2"]["h"] = 20
-if ( tqshapes["text"]["text"] == "1" ):
+if ( shapes["text"]["text"] == "1" ):
stencil = curLayer().firstStencil()
stencil.setText( "x:"+str(x)+" y:"+str(y) )