Merge pull request #157 from lidstrom83/GradientWidget_widgetGroupInterface

Provide widgetGroupInterface to GradientWidget
This commit is contained in:
Ogi Moore 2020-06-10 20:02:38 -07:00 committed by GitHub
commit 1f00578cf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)