floatobj.h
author insilmaril
Wed Mar 01 14:39:05 2006 +0000 (2006-03-01)
changeset 227 38ad83f1d4ce
parent 218 160459d924a1
child 242 f3cc8813844f
permissions -rw-r--r--
1.7.10 includeImagesHorizontally implemented
     1 #ifndef FLOATOBJ_H
     2 #define FLOATOBJ_H
     3 
     4 #include "linkablemapobj.h"
     5 
     6 /////////////////////////////////////////////////////////////////////////////
     7 class FloatObj:public LinkableMapObj {
     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