comparison changesetitem.h @ 133:aaeab914f2a3

* Better attempt at retaining current visible area when history scene changes; first cut at highlighting new items
author Chris Cannam
date Tue, 30 Nov 2010 12:45:34 +0000
parents fcaf09ee825d
children bad40d7e7a2b
comparison
equal deleted inserted replaced
132:16ceeee30e2a 133:aaeab914f2a3
46 void setWide(bool w) { m_wide = w; } 46 void setWide(bool w) { m_wide = w; }
47 47
48 bool isCurrent() const { return m_current; } 48 bool isCurrent() const { return m_current; }
49 void setCurrent(bool c) { m_current = c; } 49 void setCurrent(bool c) { m_current = c; }
50 50
51 bool isNew() const { return m_new; }
52 void setNew(bool n) { m_new = n; }
53
51 bool shouldShowBranch() const { return m_showBranch; } 54 bool shouldShowBranch() const { return m_showBranch; }
52 void setShowBranch(bool s) { m_showBranch = s; } 55 void setShowBranch(bool s) { m_showBranch = s; }
53 56
54 signals: 57 signals:
55 void detailShown(); 58 void detailShown();
69 bool m_showBranch; 72 bool m_showBranch;
70 int m_column; 73 int m_column;
71 int m_row; 74 int m_row;
72 bool m_wide; 75 bool m_wide;
73 bool m_current; 76 bool m_current;
77 bool m_new;
74 }; 78 };
75 79
76 #endif // CHANGESETITEM_H 80 #endif // CHANGESETITEM_H