Mercurial > hg > easyhg
comparison hgexpwidget.h @ 86:89f793fbedda
* More on "Open" logic; fix to StatParser, and start introducing it
author | Chris Cannam |
---|---|
date | Mon, 22 Nov 2010 20:17:14 +0000 |
parents | f583e44d9d31 |
children | c5e34ed5b791 |
comparison
equal
deleted
inserted
replaced
85:7ed57064f293 | 86:89f793fbedda |
---|---|
18 #ifndef HGEXPWIDGET_H | 18 #ifndef HGEXPWIDGET_H |
19 #define HGEXPWIDGET_H | 19 #define HGEXPWIDGET_H |
20 | 20 |
21 #include "changeset.h" | 21 #include "changeset.h" |
22 #include "common.h" | 22 #include "common.h" |
23 #include "statparser.h" | |
23 | 24 |
24 #include <QMenu> | 25 #include <QMenu> |
25 #include <QListWidget> | 26 #include <QListWidget> |
26 #include <QGroupBox> | 27 #include <QGroupBox> |
27 #include <QVBoxLayout> | 28 #include <QVBoxLayout> |
28 #include <QCheckBox> | 29 #include <QCheckBox> |
29 #include <QLabel> | 30 #include <QLabel> |
31 | |
30 | 32 |
31 #define NUM_STAT_FILE_TYPES 7 | 33 #define NUM_STAT_FILE_TYPES 7 |
32 | 34 |
33 | 35 |
34 class HgExpWidget: public QTabWidget | 36 class HgExpWidget: public QTabWidget |
88 | 90 |
89 QVBoxLayout *historyLayout; | 91 QVBoxLayout *historyLayout; |
90 | 92 |
91 QVBoxLayout *headsLayout; | 93 QVBoxLayout *headsLayout; |
92 | 94 |
95 StatParser statParser; | |
96 | |
93 QString findRev(QString itemText, QString& smallRev); | 97 QString findRev(QString itemText, QString& smallRev); |
94 QStringList splitChangeSets(QString chgSetsStr); | 98 QStringList splitChangeSets(QString chgSetsStr); |
95 Changesets parseChangeSets(QString changeSetsStr); | 99 Changesets parseChangeSets(QString changeSetsStr); |
96 | 100 |
97 int findLineStart(int nowIndex, QString chgSetsStr); | 101 int findLineStart(int nowIndex, QString chgSetsStr); |