comparison changesetitem.h @ 168:4bad3c5c053a

* Add "Show summary" feature * Add simplistic kinetic scrolling to history widget
author Chris Cannam
date Tue, 14 Dec 2010 17:20:10 +0000
parents 70fe12873106
children 8fd71f570884
comparison
equal deleted inserted replaced
167:94be1e218655 168:4bad3c5c053a
16 */ 16 */
17 17
18 #ifndef CHANGESETITEM_H 18 #ifndef CHANGESETITEM_H
19 #define CHANGESETITEM_H 19 #define CHANGESETITEM_H
20 20
21 #include <QGraphicsItem> 21 #include <QGraphicsObject>
22 #include <QFont> 22 #include <QFont>
23 23
24 class Changeset; 24 class Changeset;
25 class ChangesetDetailItem; 25 class ChangesetDetailItem;
26 26
27 class QAction; 27 class QAction;
28 28
29 class ChangesetItem : public QObject, public QGraphicsItem 29 class ChangesetItem : public QGraphicsObject
30 { 30 {
31 Q_OBJECT 31 Q_OBJECT
32 Q_INTERFACES(QGraphicsItem)
33 32
34 public: 33 public:
35 ChangesetItem(Changeset *cs); 34 ChangesetItem(Changeset *cs);
36 35
37 virtual QRectF boundingRect() const; 36 virtual QRectF boundingRect() const;