2021-02-06 03:08:20 +01:00
|
|
|
#ifndef DIRECTORY_H
|
|
|
|
#define DIRECTORY_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QtCore>
|
|
|
|
#include <QtGui>
|
|
|
|
#include <QFileSystemModel>
|
|
|
|
namespace Ui {
|
|
|
|
class directory;
|
|
|
|
}
|
|
|
|
|
|
|
|
class directory : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit directory(QWidget *parent = nullptr);
|
|
|
|
~directory();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
2021-02-06 10:46:21 +01:00
|
|
|
void on_treeView_clicked(QModelIndex index);
|
2021-02-06 03:08:20 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::directory *ui;
|
|
|
|
QFileSystemModel *dirmodel;
|
|
|
|
QFileSystemModel *filemodel;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIRECTORY_H
|