Mercurial > hg > easyhg
comparison uncommitteditem.h @ 141:e6c6b88d19b9
* Start hooking up right-button menus on changeset & uncommitted items
author | Chris Cannam |
---|---|
date | Tue, 30 Nov 2010 17:56:11 +0000 |
parents | 4986642800f0 |
children | 70fe12873106 |
comparison
equal
deleted
inserted
replaced
140:bad40d7e7a2b | 141:e6c6b88d19b9 |
---|---|
41 void setRow(int r) { m_row = r; setY(r * 90); } | 41 void setRow(int r) { m_row = r; setY(r * 90); } |
42 | 42 |
43 bool isWide() const { return m_wide; } | 43 bool isWide() const { return m_wide; } |
44 void setWide(bool w) { m_wide = w; } | 44 void setWide(bool w) { m_wide = w; } |
45 | 45 |
46 signals: | |
47 void commit(); | |
48 void revert(); | |
49 void diff(); | |
50 | |
51 protected: | |
52 virtual void mousePressEvent(QGraphicsSceneMouseEvent *); | |
53 | |
46 private: | 54 private: |
55 void activateMenu(); | |
56 | |
47 QString m_branch; | 57 QString m_branch; |
48 QFont m_font; | 58 QFont m_font; |
49 int m_column; | 59 int m_column; |
50 int m_row; | 60 int m_row; |
51 bool m_wide; | 61 bool m_wide; |