32 lines
483 B
C++
32 lines
483 B
C++
#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:
|
|
|
|
void on_treeView_clicked(const QModelIndex &index);
|
|
|
|
private:
|
|
Ui::directory *ui;
|
|
QFileSystemModel *dirmodel;
|
|
QFileSystemModel *filemodel;
|
|
|
|
};
|
|
|
|
#endif // DIRECTORY_H
|