floatobj.h
author insilmaril
Tue, 05 Sep 2006 09:47:13 +0000
changeset 365 1cc73bd7ee1f
parent 242 f3cc8813844f
child 366 e95081c21da2
permissions -rw-r--r--
Moved the qt4-port branch to HEAD
insilmaril@0
     1
#ifndef FLOATOBJ_H
insilmaril@0
     2
#define FLOATOBJ_H
insilmaril@0
     3
insilmaril@242
     4
#include "ornamentedobj.h"
insilmaril@0
     5
insilmaril@0
     6
/////////////////////////////////////////////////////////////////////////////
insilmaril@242
     7
class FloatObj:public OrnamentedObj {
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