Pfandanzeige

git-svn-id: http://svn.lsim.tuxzone.org/trunk@12 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-11 20:31:04 +00:00
parent c8ca381faa
commit 9730481953
10 changed files with 64 additions and 80 deletions

View File

@@ -29,6 +29,8 @@ class QGraphicsRectItem;
class QGraphicsItemGroup;
class GraphicsEllipseItem;
class QGraphicsItemAnimation;
class QGraphicsPathItem;
class QPainterPath;
/**
@author Peter Dahlberg <pdahlberg@gmail.com>
@@ -69,16 +71,19 @@ class SimulScene : public QGraphicsScene {
void setMeterPerPx ( double theValue );
double getMeterPerPx() const;
void setFlightPathVisible(bool visible = true);
private slots:
void displayResizeRects(bool move = false);
///does the same as displayResizeRects(true)
void moveResizeRects();
signals:
void sceneModeChanged(int mode);
void stepsChanged(int steps);
void timePerStepChanged(double timePerStep);
void meterPerPxChanged(double meterPerPx);
void flightPathVisibilityChanged(bool visible);
private:
QTimeLine *timer;
@@ -101,6 +106,8 @@ class SimulScene : public QGraphicsScene {
GraphicsEllipseItem *ellipse1;
QGraphicsItemAnimation *ani;
QGraphicsPathItem *pathItem1;
//rechtecke zur groesenaenderung