Mercurial > hg > easyhg
comparison src/changesetitem.h @ 390:ef31a55c86b6 item_appearance_adjustments
Add little yellow star to current item
author | Chris Cannam |
---|---|
date | Tue, 24 May 2011 17:21:31 +0100 |
parents | ce6a70970808 |
children | b1f0fa991c49 |
comparison
equal
deleted
inserted
replaced
389:496f2042155a | 390:ef31a55c86b6 |
---|---|
23 | 23 |
24 class Changeset; | 24 class Changeset; |
25 class ChangesetDetailItem; | 25 class ChangesetDetailItem; |
26 | 26 |
27 class QAction; | 27 class QAction; |
28 class QImage; | |
28 | 29 |
29 class ChangesetItem : public QGraphicsObject | 30 class ChangesetItem : public QGraphicsObject |
30 { | 31 { |
31 Q_OBJECT | 32 Q_OBJECT |
32 | 33 |
99 bool m_new; | 100 bool m_new; |
100 | 101 |
101 QMap<QAction *, QString> m_parentDiffActions; | 102 QMap<QAction *, QString> m_parentDiffActions; |
102 QMap<QAction *, QString> m_summaryActions; | 103 QMap<QAction *, QString> m_summaryActions; |
103 | 104 |
105 static QImage *m_star; | |
106 | |
104 bool isMerge() const; | 107 bool isMerge() const; |
105 virtual void paintNormal(QPainter *); | 108 virtual void paintNormal(QPainter *); |
106 virtual void paintMerge(QPainter *); | 109 virtual void paintMerge(QPainter *); |
107 }; | 110 }; |
108 | 111 |