
    e&                     F   d Z ddlZddlmZ  ej
                  d      Z ej                         Zej                          ej                  d       ej                  dddd        ej                         Zej                  e        ej                         Zej#                  d       ej%                  e        ej&                  d	
      Z ej&                  dd      Z ej&                  ddd      Z ej&                  d
      Zej1                  d        ej2                  d      Zej7                  edd       ej7                  edd       ej7                  edd       ej7                  edd       ej7                  edd       edk(  r ej:                          yy)zp
Demonstrates the appearance / interactivity of GradientWidget
(without actually doing anything useful with it)
    N)	QtWidgetszGradiant Widget Examplez!pyqtgraph example: GradientWidget
   2   i  top)orientationrightF)r   allowAddbottom)r   r	   allowRemoveleftspectrumaw  
- Click a triangle to change its color
- Drag triangles to move
- Right-click a gradient to load triangle presets
- Click in an empty area to add a new color
    (adding is disabled for the bottom-side and right-side widgets)
- Right click a triangle to remove
    (only possible if more than two triangles are visible)
    (removing is disabled for the bottom-side widget)
      __main__)__doc__	pyqtgraphpgpyqtgraph.Qtr   mkQAppappQMainWindowwshowsetWindowTitlesetGeometryQWidgetcwsetCentralWidgetQGridLayoutl
setSpacing	setLayoutGradientWidgetw1w2w3w4
loadPresetQLabellabel	addWidget__name__exec     C/usr/lib/python3/dist-packages/pyqtgraph/examples/GradientWidget.py<module>r1      s|    "bii)*I    4 5 b"c3 Y   2 I Q QR5)R7U;R8eOR6* j 	 	 		 B1  B1  B1  B1  E1a zBGGI r/   