mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 02:54:36 +00:00
a trick to avoid 99.9% of the time that filters' tooltip will appear under the filter menu.
This commit is contained in:
parent
7ff233990b
commit
2e17db4fd4
@ -636,7 +636,20 @@ void MainWindow::fillFilterMenu()
|
||||
filterMenuTexture = filterMenu->addMenu(tr("Texture"));
|
||||
filterMenuCamera = filterMenu->addMenu(tr("Camera"));
|
||||
|
||||
connect(filterMenu, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuSelect, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuClean, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuCreate, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuRemeshing, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuPolygonal, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuColorize, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuQuality, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuNormal, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuLayer, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuRangeMap, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuPointSet, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuSampling, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuTexture, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
connect(filterMenuCamera, SIGNAL(hovered(QAction*)), this, SLOT(showTooltip(QAction*)) );
|
||||
|
||||
QMap<QString,MeshFilterInterface *>::iterator msi;
|
||||
for(msi = PM.stringFilterMap.begin(); msi != PM.stringFilterMap.end();++msi)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user