frameobj.h
changeset 411 910ba9fab728
parent 2 608f976aa7bb
child 421 5522d1da7e37
     1.1 --- a/frameobj.h	Tue Jun 06 14:58:11 2006 +0000
     1.2 +++ b/frameobj.h	Thu Dec 14 17:01:44 2006 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  class FrameObj:public MapObj {
     1.5  public:
     1.6      FrameObj();
     1.7 -    FrameObj(Q3Canvas*);
     1.8 +    FrameObj(QGraphicsScene*);
     1.9      ~FrameObj();
    1.10      void init();
    1.11      void clear();
    1.12 @@ -16,7 +16,7 @@
    1.13      void moveBy (double x,double y);  // move to relative Position
    1.14  	void positionBBox();			 
    1.15  	void calcBBoxSize();			
    1.16 -	void setRect (const QRect &);	  // set dimensions			
    1.17 +	void setRect (const QRectF &);	  // set dimensions			
    1.18      int getBorder();
    1.19      FrameType getFrameType ();
    1.20      QString getFrameTypeName ();
    1.21 @@ -26,7 +26,7 @@
    1.22  
    1.23  protected:
    1.24      FrameType type;
    1.25 -    Q3CanvasRectangle* rectFrame;
    1.26 +    QGraphicsRectItem * rectFrame;
    1.27      int border;									// distance text - frame
    1.28  };
    1.29  #endif