ein paar kleinere verbesserungen

git-svn-id: http://svn.lsim.tuxzone.org/trunk@28 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-12-07 22:11:41 +00:00
parent 80bdc8f262
commit ff93559144
9 changed files with 94 additions and 25 deletions

View File

@@ -56,6 +56,8 @@ class SimulScene : public QGraphicsScene {
~SimulScene();
double getTimePerStep();
double getMeterPerPx() const;
double getPxPerSec() const;
int getSteps();
//! gibt die Wirkende Kraft zurück (in Newton)
@@ -94,7 +96,7 @@ class SimulScene : public QGraphicsScene {
void setSteps(int steps);
void setMeterPerPx ( double theValue );
double getMeterPerPx() const;
void setPxPerSec ( double theValue );
void setFlightPathVisible(bool visible = true);
void setTimeLineDuration(int duration);
@@ -118,9 +120,11 @@ class SimulScene : public QGraphicsScene {
void stepsChanged(int steps);
void timePerStepChanged(double timePerStep);
void meterPerPxChanged(double meterPerPx);
void pxPerSecChanged(double pxps);
void flightPathVisibilityChanged(bool visible);
void timeLineDurationChanged(int duration);
void timeLineInRunningState(bool yesno = false);
void realSimulTimeChanged(QString theString);
private:
QTimeLine *timer;
@@ -132,6 +136,9 @@ class SimulScene : public QGraphicsScene {
int steps;
///ein Pixel entspricht so viel meter
double meterPerPx;
///Animationsgescheindigkeit in px/s (durchschnittlich)
double pxPerSec;
HomoEFieldItem *currHomoEfieldInsertItem; //Aktuell erstelltes Item
HomoEFieldItem *currHomoEfieldEditItem;