Pfandanzeige
git-svn-id: http://svn.lsim.tuxzone.org/trunk@12 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include <QGraphicsEllipseItem>
|
||||
#include <QObject>
|
||||
class ProbeChargeWidget;
|
||||
class QPainterPath;
|
||||
class QGraphicsPathItem;
|
||||
|
||||
/**
|
||||
@author Peter Dahlberg <pdahlberg@gmail.com>
|
||||
@@ -47,7 +49,7 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
*/
|
||||
double getMasse(double speed);
|
||||
|
||||
|
||||
QPainterPath getFlightPath() const;
|
||||
|
||||
|
||||
protected:
|
||||
@@ -73,6 +75,8 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
|
||||
QPointF myScenePos;
|
||||
|
||||
///Pfad der Flugbahn
|
||||
QPainterPath flightPath;
|
||||
|
||||
public slots:
|
||||
//! Berechnet die Bewegung der Probeladung
|
||||
@@ -90,6 +94,9 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
|
||||
void setScenePosY(double newPosY);
|
||||
void setScenePosX(double newPosX);
|
||||
void handleSceneChange(const QList<QRectF> & /*region*/);
|
||||
|
||||
void setFlightPath ( const QPainterPath& theValue );
|
||||
|
||||
signals:
|
||||
void startSpeedXChanged(double speed);
|
||||
void startSpeedYChanged(double speed);
|
||||
|
||||
Reference in New Issue
Block a user