comparison historywidget.h @ 116:807c79350bf1

* Pull history tab out into its own widget
author Chris Cannam
date Fri, 26 Nov 2010 22:06:52 +0000
parents
children c92f5859c707
comparison
equal deleted inserted replaced
115:78374cefa10f 116:807c79350bf1
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 EasyMercurial
5
6 Based on HgExplorer by Jari Korhonen
7 Copyright (c) 2010 Jari Korhonen
8 Copyright (c) 2010 Chris Cannam
9 Copyright (c) 2010 Queen Mary, University of London
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version. See the file
15 COPYING included with this distribution for more information.
16 */
17
18 #ifndef HISTORYWIDGET_H
19 #define HISTORYWIDGET_H
20
21 #include "changeset.h"
22
23 #include <QWidget>
24
25 class Panned;
26 class Panner;
27
28 class HistoryWidget : public QWidget
29 {
30 Q_OBJECT
31
32 public:
33 HistoryWidget();
34 virtual ~HistoryWidget();
35
36 void parseLog(QString log);
37
38 private:
39 Changesets m_changesets;
40
41 Panned *m_panned;
42 Panner *m_panner;
43
44 void clearChangesets();
45 Changesets parseChangeSets(QString);
46 };
47
48 #endif