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 -1
View File
@@ -75,7 +75,7 @@ ExpoDialog::ExpoDialog(QWidget *parent, ModelData & model, ExpoData *expoData, G
}
}
else {
ui->label_phases->setToolTip(tr("Click to access popup menu"));
ui->label_phases->setToolTip(tr("Popup menu available"));
ui->label_phases->setContextMenuPolicy(Qt::CustomContextMenu);
connect(ui->label_phases, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(label_phases_customContextMenuRequested(const QPoint &)));
int mask = 1;