From 96e06f212a8b553035fa91cbbc017237c700cf6c Mon Sep 17 00:00:00 2001 From: dlidstrom Date: Mon, 16 Mar 2015 14:03:58 -0600 Subject: [PATCH] Provide widgetGroupInterface to GradientWidget --- pyqtgraph/widgets/GradientWidget.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyqtgraph/widgets/GradientWidget.py b/pyqtgraph/widgets/GradientWidget.py index ce0cbeb9..77881b30 100644 --- a/pyqtgraph/widgets/GradientWidget.py +++ b/pyqtgraph/widgets/GradientWidget.py @@ -71,4 +71,7 @@ class GradientWidget(GraphicsView): ### wrap methods from GradientEditorItem return getattr(self.item, attr) + def widgetGroupInterface(self): + return (self.sigGradientChanged, self.saveState, self.restoreState) +