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