daten an aus eingebaut
git-svn-id: http://svn.lsim.tuxzone.org/trunk@66 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -125,6 +125,7 @@ void SimulScene::drawBackground ( QPainter * painter, const QRectF & rect ) {
|
||||
}
|
||||
|
||||
void SimulScene::handleTimeLineValueChange(qreal value ) {
|
||||
if (!getScenePosLablesActive()) return; //abbrechen, wenn deaktiviert da rechenintensiv
|
||||
int step = 0;
|
||||
QList<QPair<qreal, QPointF> > poslist = ani->posList();
|
||||
for(int i = 1;i<poslist.count() ; ++i ) {
|
||||
@@ -161,6 +162,8 @@ void SimulScene::setupVars() {
|
||||
|
||||
setTimeLineDuration(30000);
|
||||
setFlightPathVisible(true);
|
||||
|
||||
setScenePosLablesActive(false);
|
||||
}
|
||||
|
||||
QList<QVariant> SimulScene::getSaveDataList() {
|
||||
@@ -1155,3 +1158,14 @@ void SimulScene::resetScene() {
|
||||
setupVars();
|
||||
ellipse1->resetProbe();
|
||||
}
|
||||
|
||||
|
||||
bool SimulScene::getScenePosLablesActive() const {
|
||||
return scenePosLablesActive;
|
||||
}
|
||||
|
||||
|
||||
void SimulScene::setScenePosLablesActive ( bool theValue ) {
|
||||
scenePosLablesActive = theValue;
|
||||
emit scenePosLablesActiveChanged(theValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user