- removed the doc for an attribute which is not passed

- removed white spaces

bzr-revno: 1228
This commit is contained in:
Andreas Preikschat 2011-01-18 20:29:08 +00:00 committed by Tim Bentley
commit 0f0234ba28
6 changed files with 18 additions and 16 deletions

View File

@ -169,8 +169,9 @@ class MediaManagerItem(QtGui.QWidget):
``slot`` ``slot``
The method to call when the button is clicked. The method to call when the button is clicked.
``objectname`` ``checkable``
The name of the button. If *True* the button has two, *off* and *on*, states. Default is
*False*, which means the buttons has only one state.
""" """
# NB different order (when I broke this out, I didn't want to # NB different order (when I broke this out, I didn't want to
# break compatability), but it makes sense for the icon to # break compatability), but it makes sense for the icon to
@ -193,13 +194,13 @@ class MediaManagerItem(QtGui.QWidget):
""" """
# Add a toolbar # Add a toolbar
self.addToolbar() self.addToolbar()
#Allow the plugin to define buttons at start of bar # Allow the plugin to define buttons at start of bar
self.addStartHeaderBar() self.addStartHeaderBar()
#Add the middle of the tool bar (pre defined) # Add the middle of the tool bar (pre defined)
self.addMiddleHeaderBar() self.addMiddleHeaderBar()
#Allow the plugin to define buttons at end of bar # Allow the plugin to define buttons at end of bar
self.addEndHeaderBar() self.addEndHeaderBar()
#Add the list view # Add the list view
self.addListViewToToolBar() self.addListViewToToolBar()
def addMiddleHeaderBar(self): def addMiddleHeaderBar(self):

View File

@ -69,8 +69,9 @@ class OpenLPToolbar(QtGui.QToolBar):
``slot`` ``slot``
The method to run when this button is clicked. The method to run when this button is clicked.
``objectname`` ``checkable``
The name of the object, as used in `<button>.setObjectName()`. If *True* the button has two, *off* and *on*, states. Default is
*False*, which means the buttons has only one state.
""" """
newAction = None newAction = None
if icon: if icon: