6 enum FrameType {NoFrame,Rectangle,Ellipse};
8 class FrameObj:public MapObj {
11 FrameObj(QGraphicsScene*);
15 void move (double x,double y); // move to absolute Position
16 void moveBy (double x,double y); // move to relative Position
19 void setRect (const QRectF &); // set dimensions
21 FrameType getFrameType ();
22 QString getFrameTypeName ();
23 void setFrameType (const FrameType &);
24 void setFrameType (const QString &);
25 void setPenColor (QColor);
26 QColor getPenColor ();
27 void setBrushColor (QColor);
28 QColor getBrushColor ();
30 void setVisibility(bool);
35 QGraphicsRectItem * rectFrame;
36 QGraphicsEllipseItem * ellipseFrame;
37 int border; // distance text - frame