1.9.4 New base class for XML based file parsing (vym & Freemind)
authorinsilmaril
Mon Jul 30 09:47:07 2007 +0000 (2007-07-30)
changeset 569df32d920b04e
parent 568 b44cc0d3ed4a
child 570 ab83f030285e
1.9.4 New base class for XML based file parsing (vym & Freemind)
headingobj.h
     1.1 --- a/headingobj.h	Mon Jul 30 09:47:07 2007 +0000
     1.2 +++ b/headingobj.h	Mon Jul 30 09:47:07 2007 +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  };