hide export for floatimages.
19 class MapObj:public xmlObj {
26 virtual void copy (MapObj*);
27 virtual QCanvas* getCanvas();
32 virtual QPoint getAbsPos();
33 virtual QString getPos(); // Return position as string (x,y)
34 virtual void move (double x,double y); // move to absolute Position
35 virtual void moveBy (double x,double y); // move to relative Position
36 virtual bool inBox(const QPoint&); // Check if Point is within clickbox
37 virtual QRect getBBox(); // returns bounding box
38 virtual QRect addBBox(QRect,QRect); // returns bbox which includes both boxes
39 virtual QSize getSize(); // returns size of bounding box
40 virtual bool isVisibleObj();
41 virtual void setVisibility(bool);
42 virtual void positionBBox()=0;
43 virtual void calcBBoxSize()=0;
46 QRect bbox; // bounding box of MO itself
47 QRect clickBox; // area where mouseclicks are found
48 QPoint absPos; // Position on canvas