Mercurial > hg > easyhg
comparison src/mainwindow.h @ 554:930462068dcc find
Start experimentally adding Find button/field
author | Chris Cannam |
---|---|
date | Mon, 20 Feb 2012 18:15:53 +0000 |
parents | a220f99f1134 |
children | a1d210c767ab |
comparison
equal
deleted
inserted
replaced
553:9c8147c9f245 | 554:930462068dcc |
---|---|
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; | |
39 | 40 |
40 class MainWindow : public QMainWindow | 41 class MainWindow : public QMainWindow |
41 { | 42 { |
42 Q_OBJECT | 43 Q_OBJECT |
43 | 44 |
44 public: | 45 public: |
45 MainWindow(QString myDirPath); | 46 MainWindow(QString myDirPath); |
46 | 47 |
47 protected: | 48 protected: |
48 void closeEvent(QCloseEvent *event); | 49 void closeEvent(QCloseEvent *event); |
50 void resizeEvent(QResizeEvent *event); | |
49 | 51 |
50 public slots: | 52 public slots: |
51 void open(QString local); | 53 void open(QString local); |
52 void hgRefresh(); | 54 void hgRefresh(); |
53 void commandStarting(HgAction); | 55 void commandStarting(HgAction); |
178 | 180 |
179 void updateWorkFolderAndRepoNames(); | 181 void updateWorkFolderAndRepoNames(); |
180 | 182 |
181 WorkStatusWidget *m_workStatus; | 183 WorkStatusWidget *m_workStatus; |
182 HgTabWidget *m_hgTabs; | 184 HgTabWidget *m_hgTabs; |
185 FindWidget *m_findWidget; | |
183 | 186 |
184 QString m_remoteRepoPath; | 187 QString m_remoteRepoPath; |
185 QString m_workFolderPath; | 188 QString m_workFolderPath; |
186 QString m_currentBranch; | 189 QString m_currentBranch; |
187 Changesets m_currentHeads; | 190 Changesets m_currentHeads; |