floatobj.h
author insilmaril
Mon May 08 13:25:46 2006 +0000 (2006-05-08)
changeset 312 d1d464798f08
parent 223 e03b393e4e51
child 366 e95081c21da2
permissions -rw-r--r--
1.7.16 Small bugfixes
     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