5 #include <QAbstractItemView>
14 class FolderPanel : public QWidget
19 explicit FolderPanel(QWidget *parent = 0);
22 // FolderView* folderView() const;
23 void initialize(MainWindow *w);
24 QAbstractItemView* itemView() const;
25 FolderModel* model() const;
26 void searchNext(int step = 1);
27 void setModel(FolderModel *m);
28 void toggleSearch(bool checked);
29 void toggleView(bool checked);
30 void updateAppearance();
34 MainWindow *m_mainWnd;
36 void showSearchResult(const QModelIndex &index);
41 void model_dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
43 void on_searchBox_textEdited(const QString &arg1);
46 #endif // FOLDERPANEL_H