Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/QRema.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/qremamain.h')
-rw-r--r--src/qremamain.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/qremamain.h b/src/qremamain.h
new file mode 100644
index 0000000..c20c0a7
--- /dev/null
+++ b/src/qremamain.h
@@ -0,0 +1,35 @@
+#ifndef QREMAMAIN_H
+#define QREMAMAIN_H
+
+#include <QMainWindow>
+#include <QFileSystemModel>
+#include <QDesktopServices>
+#include <QUrl>
+
+
+
+namespace Ui {
+class QRemaMain;
+}
+
+class QRemaMain : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ explicit QRemaMain(QWidget *parent = nullptr);
+ ~QRemaMain();
+
+private slots:
+ void on_treeView_clicked(const QModelIndex &index);
+ void on_listView_doubleClicked(const QModelIndex &index);
+
+private:
+ Ui::QRemaMain *ui;
+ // Make two models instead of one
+ // to filter them separately
+ QFileSystemModel *dirModel;
+ QFileSystemModel *fileModel;
+};
+
+#endif // QREMAMAIN_H