Add Tooltips with names of facial landmarks

This commit is contained in:
Mika Fischer
2014-03-10 17:29:51 +01:00
parent 402ccb556e
commit 5e1e1ffd38
+2
View File
@@ -741,6 +741,8 @@ class NPointFaceItem(GroupItem):
if prefix + 'x' in self._model_item and \
prefix + 'y' in self._model_item:
child = callable_(self._model_item, prefix, self)
if hasattr(child, 'setToolTip'):
child.setToolTip(prefix)
self._children.append(child)
def boundingRect(self):