diff changesetscene.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/changesetscene.h	Wed Dec 08 16:57:18 2010 +0000
+++ b/changesetscene.h	Tue Dec 14 17:20:10 2010 +0000
@@ -22,6 +22,7 @@
 
 class ChangesetItem;
 class UncommittedItem;
+class DateItem;
 
 class ChangesetScene : public QGraphicsScene
 {
@@ -32,11 +33,13 @@
 
     void addChangesetItem(ChangesetItem *item);
     void addUncommittedItem(UncommittedItem *item);
+    void addDateItem(DateItem *item);
 
 signals:
     void commit();
     void revert();
     void diffWorkingFolder();
+    void showSummary();
     void showWork();
 
     void updateTo(QString id);
@@ -45,8 +48,10 @@
     void mergeFrom(QString id);
     void tag(QString id);
 
-public slots:
+private slots:
     void changesetDetailShown();
+    void changesetDetailHidden();
+    void dateItemClicked();
 
 private:
     ChangesetItem *m_detailShown;