comparison src/historywidget.h @ 558:d932ce55c364 find

Remove the single find widget from top, add one to each tab at the bottom instead. (Turns out you don't usually want to search for the same text in both types of widget.) Also provide sensible no-results text.
author Chris Cannam
date Mon, 27 Feb 2012 17:08:26 +0000
parents a1d210c767ab
children 533519ebc0cb
comparison
equal deleted inserted replaced
557:57a7f95ef400 558:d932ce55c364
26 26
27 class Panned; 27 class Panned;
28 class Panner; 28 class Panner;
29 class UncommittedItem; 29 class UncommittedItem;
30 class QGraphicsScene; 30 class QGraphicsScene;
31 class FindWidget;
31 32
32 class HistoryWidget : public QWidget 33 class HistoryWidget : public QWidget
33 { 34 {
34 Q_OBJECT 35 Q_OBJECT
35 36
79 QSet<QString> m_newIds; 80 QSet<QString> m_newIds;
80 QSet<QString> m_closedIds; 81 QSet<QString> m_closedIds;
81 bool m_showUncommitted; 82 bool m_showUncommitted;
82 bool m_refreshNeeded; 83 bool m_refreshNeeded;
83 84
85 FindWidget *m_findWidget;
84 Panned *m_panned; 86 Panned *m_panned;
85 Panner *m_panner; 87 Panner *m_panner;
86 QCheckBox *m_showClosedBranches; 88 QCheckBox *m_showClosedBranches;
87 89
88 QString m_searchText; 90 QString m_searchText;