Mercurial > hg > easyhg
diff uncommitteditem.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 |
line wrap: on
line diff
--- a/uncommitteditem.h Wed Dec 08 16:57:18 2010 +0000 +++ b/uncommitteditem.h Tue Dec 14 17:20:10 2010 +0000 @@ -18,13 +18,12 @@ #ifndef UNCOMMITTEDITEM_H #define UNCOMMITTEDITEM_H -#include <QGraphicsItem> +#include <QGraphicsObject> #include <QFont> -class UncommittedItem : public QObject, public QGraphicsItem +class UncommittedItem : public QGraphicsObject { Q_OBJECT - Q_INTERFACES(QGraphicsItem) public: UncommittedItem(); @@ -50,6 +49,7 @@ void commit(); void revert(); void diff(); + void showSummary(); void showWork(); protected: