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

qremamain.h « src - gitlab.com/Remmina/QRema.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ffdb730aafd072f376f12105b651f1e7b09eb328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef QREMAMAIN_H
#define QREMAMAIN_H

#include <QMainWindow>
#include <QDebug>
#include <QFileSystemModel>
#include <QDesktopServices>
#include <QUrl>
#include <QSortFilterProxyModel>
//#include <glib.h>
//#include <glib/gprintf.h>



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);
    void on_action_Add_triggered();

private:
    Ui::QRemaMain *ui;
    // Make two models instead of one
    // to filter them separately
    QFileSystemModel *dirModel;
    QFileSystemModel *fileModel;
};

#endif // QREMAMAIN_H