headingobj.h
changeset 849 988f1908a7c4
parent 471 9c26d66d4c53
     1.1 --- a/headingobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.2 +++ b/headingobj.h	Fri Jul 23 16:43:49 2010 +0000
     1.3 @@ -17,7 +17,8 @@
     1.4      virtual void positionBBox();
     1.5  	virtual void calcBBoxSize();
     1.6  private:
     1.7 -    QGraphicsSimpleTextItem* newLine(QString);		// generate new textline
     1.8 +//    QGraphicsSimpleTextItem* newLine(QString);		// generate new textline
     1.9 +    QGraphicsTextItem* newLine(QString);		// generate new textline
    1.10  public:    
    1.11      virtual void setText(QString);
    1.12      virtual QString text();
    1.13 @@ -32,7 +33,8 @@
    1.14  protected:
    1.15      QString heading;
    1.16      int textwidth;								// width for formatting text
    1.17 -    QList <QGraphicsSimpleTextItem*> textline;	// a part of e.g. the parabel
    1.18 +//    QList <QGraphicsSimpleTextItem*> textline;	// a part of e.g. the parabel
    1.19 +    QList <QGraphicsTextItem*> textline;	// a part of e.g. the parabel
    1.20      QColor color;
    1.21      QFont font;
    1.22  };