OSDN Git Service

d4e6710da808c9084a7096e7d912f1a58a15c5eb
[gefu/Gefu.git] / mainwindow.h
1 #ifndef MAINWINDOW_H\r
2 #define MAINWINDOW_H\r
3 \r
4 #include <QFileInfo>\r
5 #include <QMainWindow>\r
6 class FolderPanel;\r
7 class FileTableView;\r
8 \r
9 namespace Ui {\r
10 class MainWindow;\r
11 }\r
12 \r
13 class MainWindow : public QMainWindow\r
14 {\r
15     Q_OBJECT\r
16 \r
17 public:\r
18     explicit MainWindow(QWidget *parent = 0);\r
19     ~MainWindow();\r
20 \r
21     FileTableView* otherSideView(const FileTableView *view) const;\r
22 \r
23 signals:\r
24     void showHiddenFiles(bool show);\r
25     void showSystemFiles(bool show);\r
26 \r
27 public slots:\r
28     void onActionSetting();\r
29     void onHelpAbout();\r
30 \r
31 private slots:\r
32     void toggleShowHiddenFiles();\r
33     void toggleShowSystemFiles();\r
34 \r
35 private:\r
36     Ui::MainWindow *ui;\r
37 };\r
38 \r
39 #endif // MAINWINDOW_H\r