6 /*! \brief The heading of an OrnamentedObj */
8 class HeadingObj:public MapObj {
10 HeadingObj(QGraphicsItem*);
11 virtual ~HeadingObj();
13 virtual void copy(HeadingObj*);
14 virtual void move (double x,double y); // move to absolute Position
15 virtual void moveBy (double x,double y); // move to relative Position
16 virtual void positionBBox();
17 virtual void calcBBoxSize();
19 // QGraphicsSimpleTextItem* newLine(QString); // generate new textline
20 QGraphicsTextItem* newLine(QString); // generate new textline
22 virtual void setTransformOriginPoint (const QPointF &);
23 virtual void setRotation (qreal const &a);
24 virtual qreal getRotation();
29 virtual void setText(QString);
30 virtual QString text();
31 virtual void setFont(QFont);
32 virtual QFont getFont();
33 virtual void setColor(QColor);
34 virtual QColor getColor();
35 virtual void setZValue (double z);
36 virtual void setVisibility(bool);
37 virtual qreal getHeight();
38 virtual qreal getWidth();
42 int textwidth; // width for formatting text
43 QList <QGraphicsTextItem*> textline;