#ifndef DIRECTORY_H #define DIRECTORY_H #include #include #include #include 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