Mercurial > hg > easyhg
comparison src/changesetitem.h @ 555:a1d210c767ab find
Implement basic search function in both work and history tabs
author | Chris Cannam |
---|---|
date | Wed, 22 Feb 2012 14:54:30 +0000 |
parents | a17c06f773cd |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
554:930462068dcc | 555:a1d210c767ab |
---|---|
63 void setNew(bool n) { m_new = n; } | 63 void setNew(bool n) { m_new = n; } |
64 | 64 |
65 bool showBranch() const { return m_showBranch; } | 65 bool showBranch() const { return m_showBranch; } |
66 void setShowBranch(bool s) { m_showBranch = s; } | 66 void setShowBranch(bool s) { m_showBranch = s; } |
67 | 67 |
68 bool setSearchText(QString text); // return true if it matches | |
69 | |
68 signals: | 70 signals: |
69 void detailShown(); | 71 void detailShown(); |
70 void detailHidden(); | 72 void detailHidden(); |
71 | 73 |
72 void updateTo(QString); | 74 void updateTo(QString); |
108 int m_row; | 110 int m_row; |
109 bool m_wide; | 111 bool m_wide; |
110 bool m_current; | 112 bool m_current; |
111 bool m_closing; | 113 bool m_closing; |
112 bool m_new; | 114 bool m_new; |
115 QString m_searchText; | |
116 bool m_searchMatches; | |
113 | 117 |
114 QMap<QAction *, QString> m_parentDiffActions; | 118 QMap<QAction *, QString> m_parentDiffActions; |
115 QMap<QAction *, QString> m_summaryActions; | 119 QMap<QAction *, QString> m_summaryActions; |
116 | 120 |
117 static QImage *m_star; | 121 static QImage *m_star; |