view changesetitem.h @ 43:c32067cd19f8

* Some experiments towards a graph history view
author Chris Cannam
date Sun, 07 Nov 2010 19:59:54 +0000
parents
children bed7ab59f62e
line wrap: on
line source
#ifndef CHANGESETITEM_H
#define CHANGESETITEM_H

#include <QGraphicsItem>

class Changeset;

class ChangesetItem : public QGraphicsItem
{
public:
    ChangesetItem(Changeset *cs) : m_changeset(cs) { }

    virtual QRectF boundingRect() const;
    virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);

private:
    Changeset *m_changeset;
};

#endif // CHANGESETITEM_H