- 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``
The method to call when the button is clicked.
``objectname``
The name of the button.
``checkable``
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
# break compatability), but it makes sense for the icon to
@ -193,13 +194,13 @@ class MediaManagerItem(QtGui.QWidget):
"""
# Add a toolbar
self.addToolbar()
#Allow the plugin to define buttons at start of bar
# Allow the plugin to define buttons at start of bar
self.addStartHeaderBar()
#Add the middle of the tool bar (pre defined)
# Add the middle of the tool bar (pre defined)
self.addMiddleHeaderBar()
#Allow the plugin to define buttons at end of bar
# Allow the plugin to define buttons at end of bar
self.addEndHeaderBar()
#Add the list view
# Add the list view
self.addListViewToToolBar()
def addMiddleHeaderBar(self):

View File

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

View File

@ -95,7 +95,7 @@ class OpenLPWizard(QtGui.QWizard):
def addProgressPage(self):
"""
Add the progress page for the wizard. This page informs the user how
Add the progress page for the wizard. This page informs the user how
the wizard is progressing with its task.
"""
self.progressPage = QtGui.QWizardPage()