Add mouseover tool tips to label fields with context menus (#6448)
This commit is contained in:
committed by
Bertrand Songis
parent
df113cda62
commit
1ec55792f7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user