comparison grapher.h @ 51:bf3ab0ffb559

* some preliminaries for thinking about use of date in row layout
author Chris Cannam
date Thu, 11 Nov 2010 22:27:24 +0000
parents bd3accba9b3f
children 3c46b2ac45d3
comparison
equal deleted inserted replaced
50:c76782c14371 51:bf3ab0ffb559
49 BranchColumnMap m_branchHomes; 49 BranchColumnMap m_branchHomes;
50 50
51 typedef QSet<QString> IdSet; 51 typedef QSet<QString> IdSet;
52 IdSet m_handled; 52 IdSet m_handled;
53 53
54 typedef QMap<int, QString> RowDateMap;
55 RowDateMap m_rowDates;
56
54 void layoutRow(QString id); 57 void layoutRow(QString id);
55 void layoutCol(QString id); 58 void layoutCol(QString id);
56 void allocateBranchHomes(Changesets csets); 59 void allocateBranchHomes(Changesets csets);
57 bool rangesConflict(const Range &r1, const Range &r2); 60 bool rangesConflict(const Range &r1, const Range &r2);
58 int findAvailableColumn(int row, int parent, bool preferParentCol); 61 int findAvailableColumn(int row, int parent, bool preferParentCol);