Add mouseover tool tips to label fields with context menus (#6448)

This commit is contained in:
Neil Horne
2019-05-25 10:16:57 +02:00
committed by Bertrand Songis
parent df113cda62
commit 1ec55792f7
5 changed files with 5 additions and 1 deletions
@@ -119,6 +119,7 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData * model,
// The label
QLabel * label = new QLabel(this);
label->setContextMenuPolicy(Qt::CustomContextMenu);
label->setToolTip(tr("Popup menu available"));
label->setMouseTracking(true);
label->setProperty("index", i);
if (model)