+ ChatLine(const QModelIndex &tempIndex, QGraphicsItem *parent = 0);
+ virtual ~ChatLine();
+
+ virtual QRectF boundingRect () const;
+ inline int width() const { return _width; }
+ inline int height() const { return _height; }
+
+ virtual void paint (QPainter * painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
+ //void layout();
+
+ // returns height
+ qreal setGeometry(qreal width, qreal firstColPos, qreal secondColPos);
+
+ //void myMousePressEvent ( QGraphicsSceneMouseEvent * event ) { qDebug() << "press"; mousePressEvent(event); }