edit mode/simul mode

git-svn-id: http://svn.lsim.tuxzone.org/trunk@23 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-23 13:45:09 +00:00
parent 806ee13444
commit b795ceb914
7 changed files with 218 additions and 63 deletions

View File

@@ -114,6 +114,7 @@ void SimulScene::startTimer() {
timer->start();
}
void SimulScene::stopTimer() {
timer->setCurrentTime(0);
timer->stop();
}
@@ -750,7 +751,7 @@ void SimulScene::startCalculation() {
stopTimer();
//leeren Pfad setezen
pathItem1->setPath(QPainterPath());
clearFlightPath();
//Feld Item Listen erzeugen (viel schneller, als jedes mal items(point) durchlaufen)
calcEFieldList.clear();
@@ -1043,3 +1044,7 @@ void SimulScene::moveSelectedFieldItemOnBottom() {
GraphicsEllipseItem* SimulScene::getProbeChargeItem() {
return ellipse1;
}
void SimulScene::clearFlightPath() {
pathItem1->setPath(QPainterPath());
}