2022-11-19 15:04:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QItemSelection>
|
|
|
|
|
2022-11-19 16:14:16 +00:00
|
|
|
#include "ui/instanceview/InstanceProxyModel.h"
|
|
|
|
|
2022-11-19 15:04:26 +00:00
|
|
|
namespace Ui {
|
|
|
|
class ImportResourcePackDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ImportResourcePackDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ImportResourcePackDialog(QWidget* parent = 0);
|
|
|
|
~ImportResourcePackDialog();
|
2022-11-19 16:14:16 +00:00
|
|
|
InstanceProxyModel* proxyModel;
|
2022-11-19 15:04:26 +00:00
|
|
|
QString selectedInstanceKey;
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ImportResourcePackDialog* ui;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void selectionChanged(QItemSelection, QItemSelection);
|
|
|
|
void activated(QModelIndex);
|
|
|
|
};
|