6 /*! \brief The heading of an OrnamentedObj */
8 class HeadingObj:public MapObj {
11 HeadingObj(QGraphicsScene*);
12 virtual ~HeadingObj();
14 virtual void copy(HeadingObj*);
15 virtual void move (double x,double y); // move to absolute Position
16 virtual void moveBy (double x,double y); // move to relative Position
17 virtual void positionBBox();
18 virtual void calcBBoxSize();
20 QGraphicsSimpleTextItem* newLine(QString); // generate new textline
22 virtual void setText(QString);
23 virtual QString text();
24 virtual void setFont(QFont);
25 virtual QFont getFont();
26 virtual void setColor(QColor);
27 virtual QColor getColor();
28 virtual void setVisibility(bool);
29 virtual qreal getHeight();
30 virtual qreal getWidth();
34 int textwidth; // width for formatting text
35 QList <QGraphicsSimpleTextItem*> textline; // a part of e.g. the parabel