Aditional ":" added, minor list alignments

This commit is contained in:
tommy3001 2014-02-12 21:25:31 +01:00
parent 17fdd51b55
commit 78d92b383f
4 changed files with 7 additions and 5 deletions

View File

@ -20,6 +20,8 @@ view.show()
view.setWindowTitle('pyqtgraph example: GraphicsLayout') view.setWindowTitle('pyqtgraph example: GraphicsLayout')
view.resize(800,600) view.resize(800,600)
## Title at top ## Title at top
text = """ text = """
This example demonstrates the use of GraphicsLayout to arrange items in a grid.<br> This example demonstrates the use of GraphicsLayout to arrange items in a grid.<br>

View File

@ -349,7 +349,7 @@ class GradientEditorItem(TickSliderItem):
with a GradientEditorItem that can be added to a GUI. with a GradientEditorItem that can be added to a GUI.
================================ =========================================================== ================================ ===========================================================
**Signals** **Signals:**
sigGradientChanged(self) Signal is emitted anytime the gradient changes. The signal sigGradientChanged(self) Signal is emitted anytime the gradient changes. The signal
is emitted in real time while ticks are being dragged or is emitted in real time while ticks are being dragged or
colors are being changed. colors are being changed.

View File

@ -15,7 +15,7 @@ class InfiniteLine(GraphicsObject):
This line may be dragged to indicate a position in data coordinates. This line may be dragged to indicate a position in data coordinates.
=============================== =================================================== =============================== ===================================================
**Signals** **Signals:**
sigDragged(self) sigDragged(self)
sigPositionChangeFinished(self) sigPositionChangeFinished(self)
sigPositionChanged(self) sigPositionChanged(self)
@ -28,7 +28,7 @@ class InfiniteLine(GraphicsObject):
def __init__(self, pos=None, angle=90, pen=None, movable=False, bounds=None): def __init__(self, pos=None, angle=90, pen=None, movable=False, bounds=None):
""" """
============== ================================================================== =============== ==================================================================
**Arguments:** **Arguments:**
pos Position of the line. This can be a QPointF or a single value for pos Position of the line. This can be a QPointF or a single value for
vertical/horizontal lines. vertical/horizontal lines.
@ -39,7 +39,7 @@ class InfiniteLine(GraphicsObject):
movable If True, the line can be dragged to a new position by the user. movable If True, the line can be dragged to a new position by the user.
bounds Optional [min, max] bounding values. Bounds are only valid if the bounds Optional [min, max] bounding values. Bounds are only valid if the
line is vertical or horizontal. line is vertical or horizontal.
============= ================================================================== =============== ==================================================================
""" """
GraphicsObject.__init__(self) GraphicsObject.__init__(self)

View File

@ -11,7 +11,7 @@ class ColorButton(QtGui.QPushButton):
Button displaying a color and allowing the user to select a new color. Button displaying a color and allowing the user to select a new color.
====================== ============================================================ ====================== ============================================================
**Signals**: **Signals:**
sigColorChanging(self) emitted whenever a new color is picked in the color dialog sigColorChanging(self) emitted whenever a new color is picked in the color dialog
sigColorChanged(self) emitted when the selected color is accepted (user clicks OK) sigColorChanged(self) emitted when the selected color is accepted (user clicks OK)
====================== ============================================================ ====================== ============================================================