20 #ifndef GRAPHICSVIEW_OBJECT_H 
   21 #define GRAPHICSVIEW_OBJECT_H 
   27 #include <QGraphicsItemGroup> 
   41   virtual void               compute() = 0;
 
   47   virtual void               setName( 
const QString& theName );
 
   51   virtual bool               isOnTop()
 const { 
return myIsOnTop; }
 
   52   virtual void               setIsOnTop( 
bool theIsOnTop ) { myIsOnTop = theIsOnTop; }
 
   58   virtual bool               isMovable()
 const { 
return myIsMovable; }
 
   59   virtual void               setMovable( 
bool theMovable ) { myIsMovable = theMovable; }
 
   61   virtual QRectF             getRect() 
const;
 
   63   virtual bool               checkHighlight( 
double theX, 
double theY, QCursor& theCursor ) 
const;
 
   65   virtual bool               highlight( 
double theX, 
double theY );
 
   66   virtual void               unhighlight();
 
   69   virtual bool               select( 
double theX, 
double theY, 
const QRectF& theRect );
 
   70   virtual void               unselect();
 
   72   virtual void               setSelected( 
bool theState ) { myIsSelected = theState; }
 
   74   virtual void               move( 
double theDX, 
double theDY, 
bool theIsAtOnce = 
false );
 
   75   virtual bool               finishMove( 
bool theStatus );
 
   76   virtual bool               isMoving()
 const { 
return myIsMoving; }
 
   80   virtual bool               updateScale( 
bool theIsScaleUp, 
bool theIsCtrl ) { 
return false; }
 
   85   virtual void               pull( 
const QPointF&,
 
   96   virtual void               setViewTransform( 
const QTransform& theTransform );