forked from M-Labs/artiq
gui/explorer: display filenames and classes in tooltips. Closes #371
This commit is contained in:
parent
d9b2968426
commit
2dfc1a8d17
@ -117,6 +117,10 @@ class Model(DictSyncTreeSepModel):
|
|||||||
def __init__(self, init):
|
def __init__(self, init):
|
||||||
DictSyncTreeSepModel.__init__(self, "/", ["Experiment"], init)
|
DictSyncTreeSepModel.__init__(self, "/", ["Experiment"], init)
|
||||||
|
|
||||||
|
def convert_tooltip(self, k, v, column):
|
||||||
|
return ("<b>File:</b> {file}<br><b>Class:</b> {cls}"
|
||||||
|
.format(file=v["file"], cls=v["class_name"]))
|
||||||
|
|
||||||
|
|
||||||
class StatusUpdater:
|
class StatusUpdater:
|
||||||
def __init__(self, init):
|
def __init__(self, init):
|
||||||
|
Loading…
Reference in New Issue
Block a user