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
+1
View File
@@ -153,6 +153,7 @@ Curves::Curves(QWidget * parent, ModelData & model, GeneralSettings & generalSet
edit->setPalette(palette);
edit->setText(tr("Curve %1").arg(i+1));
edit->setContextMenuPolicy(Qt::CustomContextMenu);
edit->setToolTip(tr("Popup menu available"));
connect(edit, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(ShowContextMenu(const QPoint&)));
connect(edit, SIGNAL(clicked()), this, SLOT(editCurve()));
if (i<limit) {