edit mode/simul mode
git-svn-id: http://svn.lsim.tuxzone.org/trunk@23 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user