viel zeugs usw.

git-svn-id: http://svn.lsim.tuxzone.org/trunk@11 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-06 21:05:13 +00:00
parent 1f68e40c77
commit c8ca381faa
9 changed files with 130 additions and 60 deletions

View File

@@ -71,25 +71,33 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
///Startgeschwindigkeit des teilchens in y-Richtung
double startSpeedY;
QPointF myScenePos;
public slots:
//! Berechnet die Bewegung der Probeladung
/*!
\param steps Anzahl der auszufürenden Schriite
*/
void calculateProbePath (QPointF startPoint = QPointF(0,0) , double startSpeedX = 0, double startSpeedY = 0);
void calculateProbePath (QPointF startPoint = QPointF(0,0));
void setMasse ( const double& theValue );
void setCharge ( const long double& theValue );
void setCharge ( const double& theValue );
void setStartSpeedX ( double theValue );
void setStartSpeedY ( double theValue );
void setScenePosY(double newPosY);
void setScenePosX(double newPosX);
void handleSceneChange(const QList<QRectF> & /*region*/);
signals:
void startSpeedXChanged(double speed);
void startSpeedYChanged(double speed);
void masseChanged(double masse);
void chargeChanged(double Charge);
void ScenePosChanged(QPointF newpos);
void ScenePosXChanged(double newX);
void ScenePosYChanged(double newY);