diff options
Diffstat (limited to 'kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy')
-rw-r--r-- | kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy | 14 |
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 fc01b542..aa11f970 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 shape"/> + <Description data="Basic flowcharting card tqshape"/> <Version data="0.1"/> <Web data="www.thekompany.com"/> <Email data="dima@kde.org"/> @@ -40,7 +40,7 @@ connector_targets = [ { "x":x+2, "y":y-2 }, ] -shapes = { +tqshapes = { "rect" :{ "type" : "Rectangle", "fillstyle" : "solid", @@ -96,12 +96,12 @@ connector_targets = [ { "x":x+2, "y":y-2 }, { "x":(x+x2)/2, "y":y } ] -shapes["rect2"]["x"] = x+w-35 -shapes["rect2"]["y"] = y+h-35 -shapes["rect2"]["w"] = 20 -shapes["rect2"]["h"] = 20 +tqshapes["rect2"]["x"] = x+w-35 +tqshapes["rect2"]["y"] = y+h-35 +tqshapes["rect2"]["w"] = 20 +tqshapes["rect2"]["h"] = 20 -if ( shapes["text"]["text"] == "1" ): +if ( tqshapes["text"]["text"] == "1" ): stencil = curLayer().firstStencil() stencil.setText( "x:"+str(x)+" y:"+str(y) ) |