Changeset 11425:c202b2d41718 in orange


Ignore:
Timestamp:
03/22/13 11:46:06 (13 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Children:
11426:fb465e4400f6, 11440:cb2508213612
Message:

Fixed some sphinx warnings.

Location:
Orange/OrangeCanvas
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/document/schemeedit.py

    r11411 r11425  
    676676        """ 
    677677        Create a new :class:`.SchemeNode` and add it to the document. 
    678         The new node is constructed using :ref:`newNodeHelper` method. 
     678        The new node is constructed using :func:`newNodeHelper` method. 
    679679 
    680680        """ 
  • Orange/OrangeCanvas/gui/toolbar.py

    r11366 r11425  
    2020    button instances). 
    2121 
    22     .. note:: the class does not support `QWidgetAction`s, separators, etc. 
     22    .. note:: the class does not support :class:`QWidgetAction` items, 
     23              separators, etc. 
    2324 
    2425    """ 
     
    5758 
    5859    def __layout(self, size): 
    59         """Layout the buttons to fit inside size. 
     60        """ 
     61        Layout the buttons to fit inside size. 
    6062        """ 
    6163        mygeom = self.geometry() 
     
    8486 
    8587def uniform_layout_helper(items, contents_rect, expanding, spacing): 
    86     """Set fixed sizes on 'items' so they can be lay out in 
    87     contents rect anf fil the whole space. 
     88    """ 
     89    Set fixed sizes on 'items' so they can be laid out in `contents_rect` 
     90    and fill the whole space. The items are laid out in 
     91    `expanding_direction` (:class:`Qt.Orientation`) with `spacing` 
     92    (:class:`int`) 
    8893 
    8994    """ 
  • Orange/OrangeCanvas/gui/toolgrid.py

    r11366 r11425  
    110110    A widget containing a grid of actions/buttons. 
    111111 
    112     Actions can be added using standard :ref:`QWidget.addAction(QAction)` 
    113     and :ref:`QWidget.insertAction(int, QAction)` methods. 
     112    Actions can be added using standard :func:`QWidget.addAction(QAction)` 
     113    and :func:`QWidget.insertAction(int, QAction)` methods. 
    114114 
    115115    Parameters 
Note: See TracChangeset for help on using the changeset viewer.