Skip to content

Commit 7440702

Browse files
author
Carlos Pascual
authored
Merge pull request taurus-org#640 from cpascual/model_in_tooltip
Add full model name to attribute description
2 parents a9d67e7 + 3dbe3e5 commit 7440702

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ develop branch) won't be reflected in this file.
2121
- Support for arbitrary bgRole in labels (#629)
2222
- `--import-ascii` option in `taurusplot` launcher (#632)
2323
- `ChangeState` command in TangoSchemeTest DS (#628)
24+
- Model info in widget tooltips (#640)
2425

2526
### Changed
2627
- taurus.qt widgets can now be used without installing PyTango (#590)

lib/taurus/core/taurusattribute.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ def getDisplayDescription(self, cache=True):
290290

291291
def getDisplayDescrObj(self, cache=True):
292292
name = self.getLabel(cache=cache)
293-
obj = [('name', name)]
293+
obj = [('name', name),
294+
('model', self.getFullName() or '')]
294295
descr = self.description
295296
if descr:
296297
_descr = descr.replace("<", "&lt;").replace(">", "&gt;")

0 commit comments

Comments
 (0)