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