comparison src/filestatuswidget.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
27 class QListWidget; 27 class QListWidget;
28 class QListWidgetItem; 28 class QListWidgetItem;
29 class QPushButton; 29 class QPushButton;
30 class QFileInfo; 30 class QFileInfo;
31 class QCheckBox; 31 class QCheckBox;
32 class FindWidget;
32 33
33 class FileStatusWidget : public QWidget 34 class FileStatusWidget : public QWidget
34 { 35 {
35 Q_OBJECT 36 Q_OBJECT
36 37
87 88
88 private: 89 private:
89 QString m_localPath; 90 QString m_localPath;
90 QLabel *m_noModificationsLabel; 91 QLabel *m_noModificationsLabel;
91 92
93 FindWidget *m_findWidget;
92 QCheckBox *m_showAllFiles; 94 QCheckBox *m_showAllFiles;
93 95
94 FileStates m_fileStates; 96 FileStates m_fileStates;
95 QMap<FileStates::State, QString> m_simpleLabels; 97 QMap<FileStates::State, QString> m_simpleLabels;
96 QMap<FileStates::State, QString> m_descriptions; 98 QMap<FileStates::State, QString> m_descriptions;