1 #ifndef FILETABLEVIEW_H
\r
2 #define FILETABLEVIEW_H
\r
6 #include <QFileInfoList>
\r
7 #include <QTableView>
\r
9 class FileTableView : public QTableView
\r
13 explicit FileTableView(QWidget *parent = 0);
\r
16 QString side() const;
\r
17 void setSide(const QString &side);
\r
19 History* history() { return &m_history; }
\r
21 void setRootPath(const QString &path, bool addHistory);
\r
27 QFileInfoList selectedItems() const;
\r
31 void indexChanged(const QString &text);
\r
38 void toggleChecked();
\r
39 void checkAllItems();
\r
40 void checkAllFiles();
\r
41 void uncheckAllItems();
\r
42 void invertAllChecked();
\r
44 void setPathFromOther();
\r
45 void setPathToOther();
\r
47 void showHiddenFiles(bool show);
\r
48 void showSystemFiles(bool show);
\r
56 void jumpToParent();
\r
61 void cursorToBegin();
\r
74 void askOverWrite(bool *bOk, int *prevCopyMethod, int *copyMethod,
\r
75 QString *alias, const QString &srcPath,
\r
76 const QString &tgtPath);
\r
78 // QAbstractItemView interface
\r
80 void setRootIndex(const QModelIndex &index);
\r
82 // QWidget interface
\r
84 void keyPressEvent(QKeyEvent *event);
\r
85 void focusInEvent(QFocusEvent *event);
\r
87 // QAbstractItemView interface
\r
89 void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
\r
92 #endif // FILETABLEVIEW_H
\r