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