floatobj.h
author insilmaril
Thu, 23 Mar 2006 12:38:54 +0000
changeset 257 199f2626fe70
parent 242 f3cc8813844f
child 366 e95081c21da2
permissions -rw-r--r--
Version 1.7.12
     1 #ifndef FLOATOBJ_H
     2 #define FLOATOBJ_H
     3 
     4 #include "ornamentedobj.h"
     5 
     6 /////////////////////////////////////////////////////////////////////////////
     7 class FloatObj:public OrnamentedObj {
     8 public:
     9     FloatObj ();
    10     FloatObj (QCanvas*);
    11     FloatObj (QCanvas*, LinkableMapObj* parent);
    12     ~FloatObj ();
    13     virtual void init ();
    14     virtual void copy (FloatObj*);
    15 	virtual bool load (const QString&)=0;
    16 	virtual void setZ(const int&);		// set zPlane
    17 	virtual int z();
    18 	virtual void setFloatExport (const bool &);
    19 	virtual bool getFloatExport ();
    20 
    21 	virtual void move (double,double);
    22 	virtual void move (QPoint);
    23 	virtual void setDockPos();
    24 	virtual void reposition();
    25 											
    26 	virtual QRect getTotalBBox();			// return BBox including childs			
    27 	virtual QRect getBBoxSizeWithChilds();	// return size of BBox including childs  
    28 
    29 	virtual void resetSaveCounter()=0;
    30 
    31 	virtual void select();
    32 	virtual void unselect();
    33 
    34 protected:
    35 	bool floatExport;
    36 	int zPlane;
    37 };
    38 
    39 #endif