changeset 3112:91891a108d6f

quick frontend (widgets): added "widget_hash" helper property
author Goffi <goffi@goffi.org>
date Fri, 17 Jan 2020 15:26:44 +0100 (2020-01-17)
parents 5d3b6efac044
children b067736d5099
files sat_frontends/quick_frontend/quick_widgets.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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