Implemented recursive scan for mesh files on selection of dir path. Setup name instead of full path in list.

This commit is contained in:
2017-06-18 06:15:23 -05:00
parent c6d82f5f55
commit c2f7118ed6
3 changed files with 63 additions and 79 deletions

View File

@@ -3,7 +3,6 @@
#include <QWidget>
#include "ui_MainWindow.h"
#include "FileInfoWindow.h"
#include <QFileSystemModel>
#include <QByteArray>
#include <QLabel>
@@ -26,15 +25,14 @@ private:
int m_curSeverity;
FileInfoWindow* m_infoWindow;
QFileSystemModel* m_fmodel;
QStringList m_filters;
QStringList m_Paths;
// functions
private:
void setupWidgets();
void setupAssetLibrary();
void updateAssetTree(QString);
void searchMeshFiles(QString path);
void openFileDialog();
void openFile(QString);
void takeScreenShot();
@@ -54,6 +52,6 @@ signals:
// private slots
private slots:
void on_fileListView_doubleClicked(const QModelIndex &index);
void on_fileListWidget_doubleClicked(const QModelIndex &index);
void on_dirDropDownList_currentTextChanged(const QString &arg1);
};