toolbar icons and many more things
git-svn-id: http://svn.lsim.tuxzone.org/trunk@24 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -45,9 +45,9 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
|
||||
//! Gibt die Masse zurück
|
||||
/*!
|
||||
\param speed alles != 0 relativistisch
|
||||
\param speed alles != c/10 relativistisch
|
||||
*/
|
||||
double getMasse(double speed);
|
||||
double getMasse(double speed = 0);
|
||||
|
||||
QPainterPath getFlightPath() const;
|
||||
|
||||
@@ -62,6 +62,8 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
QList<double> *speedListX;
|
||||
///Liste Der Geschwindigkeitsanteile in y-richtung
|
||||
QList<double> *speedListY;
|
||||
///Gesamtzeilt der der Simulation
|
||||
double *realSimulTime;
|
||||
///Masse der Probeladung in kg
|
||||
double masse;
|
||||
///Ladung der Probleadung in As
|
||||
@@ -78,6 +80,8 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
///Pfad der Flugbahn
|
||||
QPainterPath flightPath;
|
||||
|
||||
void setupVars();
|
||||
|
||||
public slots:
|
||||
//! Berechnet die Bewegung der Probeladung
|
||||
/*!
|
||||
@@ -96,6 +100,7 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
void handleSceneChange(const QList<QRectF> & /*region*/);
|
||||
|
||||
void setFlightPath ( const QPainterPath& theValue );
|
||||
void resetProbe();
|
||||
|
||||
signals:
|
||||
void startSpeedXChanged(double speed);
|
||||
|
||||
Reference in New Issue
Block a user