From 78d92b383f63167a9a98afb84c8300dc38c055c8 Mon Sep 17 00:00:00 2001 From: tommy3001 Date: Wed, 12 Feb 2014 21:25:31 +0100 Subject: [PATCH] Aditional ":" added, minor list alignments --- examples/GraphicsLayout.py | 2 ++ pyqtgraph/graphicsItems/GradientEditorItem.py | 2 +- pyqtgraph/graphicsItems/InfiniteLine.py | 6 +++--- pyqtgraph/widgets/ColorButton.py | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/GraphicsLayout.py b/examples/GraphicsLayout.py index 70da7e5c..6917e54e 100644 --- a/examples/GraphicsLayout.py +++ b/examples/GraphicsLayout.py @@ -20,6 +20,8 @@ view.show() view.setWindowTitle('pyqtgraph example: GraphicsLayout') view.resize(800,600) + + ## Title at top text = """ This example demonstrates the use of GraphicsLayout to arrange items in a grid.
diff --git a/pyqtgraph/graphicsItems/GradientEditorItem.py b/pyqtgraph/graphicsItems/GradientEditorItem.py index 92a4a672..e16370f5 100644 --- a/pyqtgraph/graphicsItems/GradientEditorItem.py +++ b/pyqtgraph/graphicsItems/GradientEditorItem.py @@ -349,7 +349,7 @@ class GradientEditorItem(TickSliderItem): with a GradientEditorItem that can be added to a GUI. ================================ =========================================================== - **Signals** + **Signals:** sigGradientChanged(self) Signal is emitted anytime the gradient changes. The signal is emitted in real time while ticks are being dragged or colors are being changed. diff --git a/pyqtgraph/graphicsItems/InfiniteLine.py b/pyqtgraph/graphicsItems/InfiniteLine.py index df1d5bda..08a55f83 100644 --- a/pyqtgraph/graphicsItems/InfiniteLine.py +++ b/pyqtgraph/graphicsItems/InfiniteLine.py @@ -15,7 +15,7 @@ class InfiniteLine(GraphicsObject): This line may be dragged to indicate a position in data coordinates. =============================== =================================================== - **Signals** + **Signals:** sigDragged(self) sigPositionChangeFinished(self) sigPositionChanged(self) @@ -28,7 +28,7 @@ class InfiniteLine(GraphicsObject): def __init__(self, pos=None, angle=90, pen=None, movable=False, bounds=None): """ - ============== ================================================================== + =============== ================================================================== **Arguments:** pos Position of the line. This can be a QPointF or a single value for 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. bounds Optional [min, max] bounding values. Bounds are only valid if the line is vertical or horizontal. - ============= ================================================================== + =============== ================================================================== """ GraphicsObject.__init__(self) diff --git a/pyqtgraph/widgets/ColorButton.py b/pyqtgraph/widgets/ColorButton.py index 40f6740f..a0bb0c8e 100644 --- a/pyqtgraph/widgets/ColorButton.py +++ b/pyqtgraph/widgets/ColorButton.py @@ -11,7 +11,7 @@ class ColorButton(QtGui.QPushButton): 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 sigColorChanged(self) emitted when the selected color is accepted (user clicks OK) ====================== ============================================================