Implemented initial version of resource browser

This commit is contained in:
parax0
2016-07-10 06:58:23 -06:00
parent 08dcfe5e5a
commit 6f98ae5bb8
17 changed files with 716 additions and 7 deletions

View File

@@ -0,0 +1,32 @@
#ifndef CRESOURCEBROWSER_H
#define CRESOURCEBROWSER_H
#include "CResourceProxyModel.h"
#include "CResourceTableModel.h"
#include "CVirtualDirectoryModel.h"
#include <QDialog>
namespace Ui {
class CResourceBrowser;
}
class CResourceBrowser : public QDialog
{
Q_OBJECT
Ui::CResourceBrowser *mpUI;
CResourceTableModel *mpModel;
CResourceProxyModel *mpProxyModel;
CVirtualDirectoryModel *mpDirectoryModel;
public:
explicit CResourceBrowser(QWidget *pParent = 0);
~CResourceBrowser();
void RefreshResources();
public slots:
void OnSortModeChanged(int Index);
void OnSearchStringChanged();
void OnDirectorySelectionChanged(const QModelIndex& rkNewIndex, const QModelIndex& rkPrevIndex);
};
#endif // CRESOURCEBROWSER_H