aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ImportResourcePackDialog.h
blob: 8356f204f0baa7066b3c8a9b3ca31a42b0c2ba99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include <QDialog>
#include <QItemSelection>

#include "ui/instanceview/InstanceProxyModel.h"

namespace Ui {
class ImportResourcePackDialog;
}

class ImportResourcePackDialog : public QDialog {
    Q_OBJECT

   public:
    explicit ImportResourcePackDialog(QWidget* parent = 0);
    ~ImportResourcePackDialog();
    InstanceProxyModel* proxyModel;
    QString selectedInstanceKey;

   private:
    Ui::ImportResourcePackDialog* ui;

   private slots:
    void selectionChanged(QItemSelection, QItemSelection);
    void activated(QModelIndex);
};