remove timeout for status messages related to (pre-)selection

This commit is contained in:
wmayer 2016-09-10 17:26:40 +02:00
parent 7e127c9b6a
commit 1df315160d
3 changed files with 11 additions and 11 deletions

View File

@ -499,7 +499,7 @@ bool SelectionSingleton::setPreselect(const char* pDocName, const char* pObjectN
);
if (getMainWindow()) {
getMainWindow()->showMessage(msg,3000);
getMainWindow()->showMessage(msg);
Gui::MDIView* mdi = Gui::Application::Instance->activeDocument()->getActiveView();
mdi->setOverrideCursor(QCursor(Qt::ForbiddenCursor));
}
@ -574,7 +574,7 @@ void SelectionSingleton::setPreselectCoord( float x, float y, float z)
,x,y,z);
if (getMainWindow())
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
void SelectionSingleton::rmvPreselect()
@ -679,7 +679,7 @@ bool SelectionSingleton::addSelection(const char* pDocName, const char* pObjectN
} else {
msg = QCoreApplication::translate("SelectionFilter","Selection not allowed by filter");
}
getMainWindow()->showMessage(msg,5000);
getMainWindow()->showMessage(msg);
Gui::MDIView* mdi = Gui::Application::Instance->activeDocument()->getActiveView();
mdi->setOverrideCursor(Qt::ForbiddenCursor);
}

View File

@ -345,7 +345,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
else { // picked point
if (highlighted) {
@ -404,7 +404,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}
}
@ -438,7 +438,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}
@ -569,7 +569,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}
}
@ -603,7 +603,7 @@ SoFCSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}

View File

@ -373,7 +373,7 @@ SoFCUnifiedSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
if (Gui::Selection().setPreselect(documentName.c_str()
,objectName.c_str()
@ -470,7 +470,7 @@ SoFCUnifiedSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}
}
@ -508,7 +508,7 @@ SoFCUnifiedSelection::handleEvent(SoHandleEventAction * action)
,pp->getPoint()[1]
,pp->getPoint()[2]);
getMainWindow()->showMessage(QString::fromLatin1(buf),3000);
getMainWindow()->showMessage(QString::fromLatin1(buf));
}
}