QuickLoadDialog: implemented resource type filter
One can filter resource types now using the combobox. It's also possible to pass a certain ResourceItem::Type to the QuickLoadDialog constructor so the according type is preselected.
This commit is contained in:
@@ -27,15 +27,22 @@
|
||||
|
||||
#include <QtGui/QDialog>
|
||||
|
||||
#include "ResourceItem.h"
|
||||
|
||||
namespace Ui { class QuickLoadDialog; }
|
||||
class ResourceListModel;
|
||||
|
||||
class QuickLoadDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QuickLoadDialog( QWidget * _parent );
|
||||
~QuickLoadDialog();
|
||||
QuickLoadDialog( QWidget * _parent, ResourceItem::Type _typeFilter =
|
||||
ResourceItem::TypeUnknown );
|
||||
virtual ~QuickLoadDialog();
|
||||
|
||||
|
||||
private slots:
|
||||
void setTypeFilter( int );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user