homoefeld berechnung und animation sollten grundlegend funktionieren
git-svn-id: http://svn.lsim.tuxzone.org/trunk@3 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -27,6 +27,7 @@ class HomoEFieldItem;
|
||||
class QGraphicsRectItem;
|
||||
class QGraphicsItemGroup;
|
||||
class GraphicsEllipseItem;
|
||||
class QGraphicsItemAnimation;
|
||||
|
||||
/**
|
||||
@author Peter Dahlberg <pdahlberg@gmail.com>
|
||||
@@ -49,7 +50,7 @@ class SimulScene : public QGraphicsScene {
|
||||
\param charge Die Ladung, auf die die Kraft ausgeübt wird
|
||||
\param xy x oder y-Richtung
|
||||
*/
|
||||
long double getPowerAt(QPointF point, long double charge, char xy);
|
||||
double getPowerAt(QPointF point, double charge, char xy);
|
||||
QWidget* getProbeDockWidget() const;
|
||||
|
||||
public slots:
|
||||
@@ -74,6 +75,7 @@ class SimulScene : public QGraphicsScene {
|
||||
void sceneModeChanged(int mode);
|
||||
void stepsChanged(int steps);
|
||||
void timePerStepChanged(double timePerStep);
|
||||
void meterPerPxChanged(double meterPerPx);
|
||||
private:
|
||||
QTimeLine *timer;
|
||||
|
||||
@@ -90,6 +92,7 @@ class SimulScene : public QGraphicsScene {
|
||||
QGraphicsItem *pressedResizeItem;
|
||||
|
||||
GraphicsEllipseItem *ellipse1;
|
||||
QGraphicsItemAnimation *ani;
|
||||
|
||||
|
||||
//rechtecke zur groesenaenderung
|
||||
|
||||
Reference in New Issue
Block a user