summaryrefslogtreecommitdiffstats
path: root/fsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'fsview.h')
-rw-r--r--fsview.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fsview.h b/fsview.h
new file mode 100644
index 0000000..380ae5f
--- /dev/null
+++ b/fsview.h
@@ -0,0 +1,16 @@
+#ifndef FSVIEW_H
+#define FSVIEW_H
+
+#include <QTreeView>
+
+class FSView : public QTreeView {
+ Q_OBJECT
+ public:
+ enum { InvisibleAction };
+ explicit FSView(QWidget *parent = nullptr);
+
+ protected:
+ virtual void contextMenuEvent(QContextMenuEvent *e);
+};
+
+#endif // FSVIEW_H