Mercurial > hg > easyhg
comparison src/uncommitteditem.h @ 400:07eaf4e6003a
Merge from branch "item_appearance_adjustments"
author | Chris Cannam |
---|---|
date | Wed, 25 May 2011 14:59:09 +0100 |
parents | b1f0fa991c49 |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
385:5cc0d897eb26 | 400:07eaf4e6003a |
---|---|
37 bool showBranch() const { return m_showBranch; } | 37 bool showBranch() const { return m_showBranch; } |
38 void setShowBranch(bool s) { m_showBranch = s; } | 38 void setShowBranch(bool s) { m_showBranch = s; } |
39 | 39 |
40 bool isNewBranch() const { return m_isNewBranch; } | 40 bool isNewBranch() const { return m_isNewBranch; } |
41 void setIsNewBranch(bool s) { m_isNewBranch = s; } | 41 void setIsNewBranch(bool s) { m_isNewBranch = s; } |
42 | |
43 bool isMerge() const { return m_isMerge; } | |
44 void setIsMerge(bool m) { m_isMerge = m; } | |
42 | 45 |
43 int column() const { return m_column; } | 46 int column() const { return m_column; } |
44 int row() const { return m_row; } | 47 int row() const { return m_row; } |
45 void setColumn(int c) { m_column = c; setX(c * 100); } | 48 void setColumn(int c) { m_column = c; setX(c * 100); } |
46 void setRow(int r) { m_row = r; setY(r * 90); } | 49 void setRow(int r) { m_row = r; setY(r * 90); } |
65 void activateMenu(); | 68 void activateMenu(); |
66 | 69 |
67 QString m_branch; | 70 QString m_branch; |
68 bool m_showBranch; | 71 bool m_showBranch; |
69 bool m_isNewBranch; | 72 bool m_isNewBranch; |
73 bool m_isMerge; | |
70 QFont m_font; | 74 QFont m_font; |
71 int m_column; | 75 int m_column; |
72 int m_row; | 76 int m_row; |
73 bool m_wide; | 77 bool m_wide; |
78 | |
79 void paintNormal(QPainter *); | |
80 void paintMerge(QPainter *); | |
74 }; | 81 }; |
75 | 82 |
76 #endif // UNCOMMITTEDITEM_H | 83 #endif // UNCOMMITTEDITEM_H |