diff sat_frontends/quick_frontend/quick_widgets.py @ 3112:91891a108d6f

quick frontend (widgets): added "widget_hash" helper property
author Goffi <goffi@goffi.org>
date Fri, 17 Jan 2020 15:26:44 +0100
parents 07aac71ea31f
children 060ac43627fc
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_widgets.py	Sat Jan 11 17:20:44 2020 +0100
+++ b/sat_frontends/quick_frontend/quick_widgets.py	Fri Jan 17 15:26:44 2020 +0100
@@ -373,6 +373,11 @@
         """
         return next(iter(self.targets))
 
+    @property
+    def widget_hash(self):
+        """Return quick widget hash"""
+        return self.getWidgetHash(self.target, self.profiles)
+
     # synchronisation state
 
     @property