Implemented recursive scan for mesh files on selection of dir path. Setup name instead of full path in list.
This commit is contained in:
		@@ -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);
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user