comparison src/mainwindow.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
34 class QTimer; 34 class QTimer;
35 QT_END_NAMESPACE 35 QT_END_NAMESPACE
36 36
37 class WorkStatusWidget; 37 class WorkStatusWidget;
38 class FsWatcher; 38 class FsWatcher;
39 class FindWidget;
40 39
41 class MainWindow : public QMainWindow 40 class MainWindow : public QMainWindow
42 { 41 {
43 Q_OBJECT 42 Q_OBJECT
44 43
67 void changeRemoteRepo(); 66 void changeRemoteRepo();
68 void changeRemoteRepo(bool initial); 67 void changeRemoteRepo(bool initial);
69 void startupDialog(); 68 void startupDialog();
70 void clearSelections(); 69 void clearSelections();
71 void showAllChanged(); 70 void showAllChanged();
72 void findTextChanged(QString);
73 71
74 void hgTest(); 72 void hgTest();
75 void hgTestExtension(); 73 void hgTestExtension();
76 void hgQueryPaths(); 74 void hgQueryPaths();
77 void hgStat(); 75 void hgStat();
181 179
182 void updateWorkFolderAndRepoNames(); 180 void updateWorkFolderAndRepoNames();
183 181
184 WorkStatusWidget *m_workStatus; 182 WorkStatusWidget *m_workStatus;
185 HgTabWidget *m_hgTabs; 183 HgTabWidget *m_hgTabs;
186 FindWidget *m_findWidget;
187 184
188 QString m_remoteRepoPath; 185 QString m_remoteRepoPath;
189 QString m_workFolderPath; 186 QString m_workFolderPath;
190 QString m_currentBranch; 187 QString m_currentBranch;
191 Changesets m_currentHeads; 188 Changesets m_currentHeads;