diff -r 000000000000 -r 083d9067691f floatimageobj.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/floatimageobj.h Sun Jan 30 12:58:55 2005 +0000 @@ -0,0 +1,44 @@ +#ifndef FLOATIMAGEOBJ_H +#define FLOATIMAGEOBJ_H + +#include "floatobj.h" + +///////////////////////////////////////////////////////////////////////////// +class FloatImageObj:public FloatObj { +public: + FloatImageObj (); + FloatImageObj (QCanvas*); + FloatImageObj (QCanvas*, LinkableMapObj* parent); + ~FloatImageObj (); + virtual void init (); + virtual void copy (FloatImageObj*); + virtual void setZ (const int&); + virtual int z(); + + virtual bool load (const QString &); + virtual void save (const QString &, const char *); + virtual void setOriginalFilename(const QString &); + virtual QString getOriginalFilename(); + virtual void setVisibility(bool); // set vis. for w + virtual void move (double x,double y); + virtual void move (QPoint); + virtual void positionBBox(); + virtual void calcBBoxSize(); + virtual QRect getTotalBBox(); // return BBox including childs + virtual QRect getBBoxSizeWithChilds(); // return size of BBox including childs + virtual void calcBBoxSizeWithChilds(); // calc size of BBox including childs recursivly + virtual QString saveToDir(const QString &,const QString&); + virtual void resetSaveCounter(); + virtual QString getSelectString(); + + +protected: + ImageObj *icon; + bool saveInMap; + static int counter; // numerate the files during saveToDir + QString filetype; + QString filename; + QString originalFilename; +}; + +#endif