src/hbcore/primitives/hbrichtextitem.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 21 4633027730f5
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    63     int type() const { return Type; }
    63     int type() const { return Type; }
    64 
    64 
    65     void setGeometry( const QRectF & rect );
    65     void setGeometry( const QRectF & rect );
    66     QRectF boundingRect () const;
    66     QRectF boundingRect () const;
    67 
    67 
       
    68     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
       
    69 
    68 protected:
    70 protected:
    69     HbRichTextItem(HbRichTextItemPrivate &dd, QGraphicsItem *parent );
    71     HbRichTextItem(HbRichTextItemPrivate &dd, QGraphicsItem *parent );
    70 
       
    71     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
       
    72 
    72 
    73     QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
    73     QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
    74     void resizeEvent ( QGraphicsSceneResizeEvent * event );
    74     void resizeEvent ( QGraphicsSceneResizeEvent * event );
    75     void changeEvent( QEvent *event) ;
    75     void changeEvent( QEvent *event) ;
    76 
    76