1 #ifndef FOLDERPANEL_H
\r
2 #define FOLDERPANEL_H
\r
6 #include <QTableWidget>
\r
7 #include <QFileIconProvider>
\r
8 #include <QFileSystemWatcher>
\r
15 class FolderPanel : public QWidget
\r
20 explicit FolderPanel(QWidget *parent = 0);
\r
23 QTableWidget* fileTable();
\r
24 const QTableWidget* fileTable() const;
\r
26 QDir* dir() { return &m_dir; }
\r
27 const QDir* dir() const { return &m_dir; }
\r
29 void setCurrentFolder(const QString &path);
\r
32 Ui::FolderPanel *ui;
\r
34 QFileIconProvider m_IconFactory;
\r
35 QFileSystemWatcher *m_fsWatcher;
\r
37 MainWindow* mainWindow();
\r
38 bool eventFilter(QObject *, QEvent *);
\r
41 void on_fileTable_cellChanged(int row, int column);
\r
42 void on_locationField_editingFinished();
\r
43 void on_directoryChanged(QString);
\r
46 #endif // FOLDERPANEL_H
\r