comparison 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
comparison
equal deleted inserted replaced
42:9a89dedf260a 43:c32067cd19f8
1 #ifndef CHANGESETITEM_H
2 #define CHANGESETITEM_H
3
4 #include <QGraphicsItem>
5
6 class Changeset;
7
8 class ChangesetItem : public QGraphicsItem
9 {
10 public:
11 ChangesetItem(Changeset *cs) : m_changeset(cs) { }
12
13 virtual QRectF boundingRect() const;
14 virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
15
16 private:
17 Changeset *m_changeset;
18 };
19
20 #endif // CHANGESETITEM_H