more doc fixes

This commit is contained in:
Andreas Preikschat 2011-01-18 21:14:44 +01:00
parent 608dbd2537
commit d567bb12ad
2 changed files with 7 additions and 2 deletions

View File

@ -168,6 +168,10 @@ class MediaManagerItem(QtGui.QWidget):
``slot``
The method to call when the button is clicked.
``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

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: