Ignore:
Timestamp:
03/25/13 14:39:50 (13 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixes to canvas package documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/canvas/items/nodeitem.py

    r11440 r11442  
    11""" 
    2 NodeItem 
     2========= 
     3Node Item 
     4========= 
    35 
    46""" 
     
    272274    """ 
    273275 
    274     # Signal emitted when the item's scene position changes. 
     276    #: Signal emitted when the item's scene position changes. 
    275277    scenePositionChanged = Signal(QPointF) 
    276278 
     279    #: Signal emitted when the item's `anchorDirection` changes. 
    277280    anchorDirectionChanged = Signal(QPointF) 
    278281 
     
    692695    """ 
    693696 
    694     # Scene position of the node has changed. 
     697    #: Signal emitted when the scene position of the node has changed. 
    695698    positionChanged = Signal() 
    696699 
    697     # Geometry of the channel anchors changed 
     700    #: Signal emitted when the geometry of the channel anchors changes. 
    698701    anchorGeometryChanged = Signal() 
    699702 
    700     # The item has been activated (by a mouse double click or a keyboard). 
     703    #: Signal emitted when the item has been activated (by a mouse double 
     704    #: click or a keyboard) 
    701705    activated = Signal() 
    702706 
    703     # The item is under the mouse. 
     707    #: The item is under the mouse. 
    704708    hovered = Signal() 
    705709 
     
    852856    def setIcon(self, icon): 
    853857        """ 
    854         Set the node item's icon. 
     858        Set the node item's icon (:class:`QIcon`). 
    855859        """ 
    856860        if isinstance(icon, QIcon): 
     
    993997    def newInputAnchor(self): 
    994998        """ 
    995         Create and return a new input anchor point. 
     999        Create and return a new input :class:`AnchorPoint`. 
    9961000        """ 
    9971001        if not (self.widget_description and self.widget_description.inputs): 
     
    10191023    def newOutputAnchor(self): 
    10201024        """ 
    1021         Create a new output anchor indicator. 
     1025        Create and return a new output :class:`AnchorPoint`. 
    10221026        """ 
    10231027        if not (self.widget_description and self.widget_description.outputs): 
     
    10451049    def inputAnchors(self): 
    10461050        """ 
    1047         Return a list of input anchor points. 
     1051        Return a list of all input anchor points. 
    10481052        """ 
    10491053        return self.inputAnchorItem.anchorPoints() 
     
    10511055    def outputAnchors(self): 
    10521056        """ 
    1053         Return a list of output anchor points. 
     1057        Return a list of all output anchor points. 
    10541058        """ 
    10551059        return self.outputAnchorItem.anchorPoints() 
Note: See TracChangeset for help on using the changeset viewer.