anfaengliche z-index vertauschung

git-svn-id: http://svn.lsim.tuxzone.org/trunk@17 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-16 22:18:15 +00:00
parent 12fd597883
commit 7c332f2358
8 changed files with 172 additions and 61 deletions

View File

@@ -29,6 +29,7 @@
*/
class QPointF;
class QGraphicsSceneWheelEvent;
class SimulScene;
class FieldItem :public QObject, public QGraphicsItem {
Q_OBJECT
public:
@@ -57,10 +58,11 @@ class FieldItem :public QObject, public QGraphicsItem {
protected:
virtual void wheelEvent(QGraphicsSceneWheelEvent * event);
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
QPointF myScenePos;
int myRotation;
QRectF sizeRect;
SimulScene* mySimulScene;
public slots:
virtual void handleSceneChange(const QList<QRectF> & region);