floatobj.h
author insilmaril
Mon Apr 24 11:31:16 2006 +0000 (2006-04-24)
changeset 309 1f41709aa387
parent 223 e03b393e4e51
child 366 e95081c21da2
permissions -rw-r--r--
corrected wrong vymBaseDir
     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