Ignore:
Timestamp:
02/19/13 15:01:43 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added rst documentation for the canvas gui package.

Fixing docstrings in the process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/gui/framelesswindow.py

    r11170 r11366  
    11""" 
    2 A Frameless window widget 
     2A frameless window widget 
    33 
    44""" 
     
    1212 
    1313class FramelessWindow(QWidget): 
    14     """A Basic frameless window widget with rounded corners (if supported by 
     14    """ 
     15    A basic frameless window widget with rounded corners (if supported by 
    1516    the windowing system). 
    1617 
     
    2627 
    2728    def setRadius(self, radius): 
    28         """Set the window rounded border radius. 
     29        """ 
     30        Set the window rounded border radius. 
    2931        """ 
    3032        if self.__radius != radius: 
     
    3537 
    3638    def radius(self): 
    37         """Return the border radius. 
     39        """ 
     40        Return the border radius. 
    3841        """ 
    3942        return self.__radius 
    4043 
    4144    radius_ = Property(int, fget=radius, fset=setRadius, 
    42                        designable=True) 
     45                       designable=True, 
     46                       doc="Window border radius") 
    4347 
    4448    def resizeEvent(self, event): 
Note: See TracChangeset for help on using the changeset viewer.