File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
orangecanvas/canvas/items Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ def QPainterPath_addLine(path, line):
299
299
return p1
300
300
301
301
302
- _State = SchemeLink .State
302
+ _State = Link .State
303
303
304
304
305
305
class LinkItem (QGraphicsWidget ):
@@ -325,19 +325,19 @@ class LinkItem(QGraphicsWidget):
325
325
Z_VALUE = 0
326
326
327
327
#: Runtime link state value
328
- #: These are pulled from SchemeLink .State for ease of binding to it's
328
+ #: These are pulled from Link .State for ease of binding to its
329
329
#: state
330
- State = SchemeLink .State
330
+ State = Link .State
331
331
#: The link has no associated state.
332
- NoState = SchemeLink .NoState
332
+ NoState = Link .NoState
333
333
#: Link is empty; the source node does not have any value on output
334
- Empty = SchemeLink .Empty
334
+ Empty = Link .Empty
335
335
#: Link is active; the source node has a valid value on output
336
- Active = SchemeLink .Active
336
+ Active = Link .Active
337
337
#: The link is pending; the sink node is scheduled for update
338
- Pending = SchemeLink .Pending
338
+ Pending = Link .Pending
339
339
#: The link's input is marked as invalidated (not yet available).
340
- Invalidated = SchemeLink .Invalidated
340
+ Invalidated = Link .Invalidated
341
341
342
342
def __init__ (self , parent = None , ** kwargs ):
343
343
# type: (Optional[QGraphicsItem], Any) -> None
Original file line number Diff line number Diff line change @@ -1392,7 +1392,7 @@ def iconItem(standard_pixmap):
1392
1392
def from_node (cls , node : Node ) -> 'NodeItem' :
1393
1393
"""
1394
1394
Create an :class:`NodeItem` instance and initialize it from a
1395
- :class:`SchemeNode ` instance.
1395
+ :class:`Node ` instance.
1396
1396
"""
1397
1397
self = cls ()
1398
1398
self .initFrom (node )
You can’t perform that action at this time.
0 commit comments