Mercurial > hg > easyhg
diff 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 |
line wrap: on
line diff
--- a/uncommitteditem.h Tue Nov 30 14:59:52 2010 +0000 +++ b/uncommitteditem.h Tue Nov 30 17:56:11 2010 +0000 @@ -43,7 +43,17 @@ bool isWide() const { return m_wide; } void setWide(bool w) { m_wide = w; } +signals: + void commit(); + void revert(); + void diff(); + +protected: + virtual void mousePressEvent(QGraphicsSceneMouseEvent *); + private: + void activateMenu(); + QString m_branch; QFont m_font; int m_column;