diff src/historywidget.h @ 513:ddc7238fc3b0

Add "Show closed branches" toggle to history widget, when some closed branches exist in the repo
author Chris Cannam
date Tue, 18 Oct 2011 12:49:39 +0100
parents 470829a21f98
children 306a62fe851e
line wrap: on
line diff
--- a/src/historywidget.h	Tue Oct 18 11:49:40 2011 +0100
+++ b/src/historywidget.h	Tue Oct 18 12:49:39 2011 +0100
@@ -22,6 +22,7 @@
 
 #include <QWidget>
 #include <QSet>
+#include <QCheckBox>
 
 class Panned;
 class Panner;
@@ -64,6 +65,9 @@
     void mergeFrom(QString id);
     void newBranch(QString id);
     void tag(QString id);
+
+private slots:
+    void showClosedChanged(bool);
     
 private:
     Changesets m_changesets;
@@ -76,6 +80,7 @@
 
     Panned *m_panned;
     Panner *m_panner;
+    QCheckBox *m_showClosedBranches;
 
     QGraphicsScene *scene();
     void clearChangesets();