From 2dfc1a8d17e070acdaac649b17bfba317ef10f27 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 5 Apr 2016 13:26:00 +0800 Subject: [PATCH] gui/explorer: display filenames and classes in tooltips. Closes #371 --- artiq/gui/explorer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artiq/gui/explorer.py b/artiq/gui/explorer.py index 760ad5a3d..fee266e71 100644 --- a/artiq/gui/explorer.py +++ b/artiq/gui/explorer.py @@ -117,6 +117,10 @@ class Model(DictSyncTreeSepModel): def __init__(self, init): DictSyncTreeSepModel.__init__(self, "/", ["Experiment"], init) + def convert_tooltip(self, k, v, column): + return ("File: {file}
Class: {cls}" + .format(file=v["file"], cls=v["class_name"])) + class StatusUpdater: def __init__(self, init):