Menu

[c54480]: / floatobj.h  Maximize  Restore  History

Download this file

31 lines (24 with data), 939 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef FLOATOBJ_H
#define FLOATOBJ_H
#include "ornamentedobj.h"
/*! \brief Base class for objects floating in the map, which means they can be positioned freely. */
/////////////////////////////////////////////////////////////////////////////
class FloatObj:public OrnamentedObj {
public:
FloatObj (QGraphicsItem*,TreeItem *ti=NULL);
~FloatObj ();
virtual void init ();
virtual void copy (FloatObj*);
virtual void move (double,double);
virtual void move (QPointF);
virtual void moveCenter (double x,double y);
virtual void moveCenter2RelPos(double x, double y);
virtual void move2RelPos(double x, double y);
virtual void move2RelPos(QPointF p);
virtual void setRelPos();
virtual void setRelPos(const QPointF &p);
virtual void setDockPos();
virtual void reposition();
virtual QRectF getBBoxSizeWithChildren(); // return size of BBox including children
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.