diff options
author | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-11-19 23:04:26 +0800 |
---|---|---|
committer | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-11-19 23:14:57 +0800 |
commit | 8dacbafc8ba45ae6c2b770da77cc0d3d632849ba (patch) | |
tree | c0b850d2a4bea1c2a4d60e7280ef28b60726ee0e /launcher/ui/dialogs/ImportResourcePackDialog.h | |
parent | 3482076a207444bbdd9a7667df40b80bce1c545c (diff) | |
download | PrismLauncher-8dacbafc8ba45ae6c2b770da77cc0d3d632849ba.tar.gz PrismLauncher-8dacbafc8ba45ae6c2b770da77cc0d3d632849ba.tar.bz2 PrismLauncher-8dacbafc8ba45ae6c2b770da77cc0d3d632849ba.zip |
feat: initial support for smart resource pack parsing on file handler
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs/ImportResourcePackDialog.h')
-rw-r--r-- | launcher/ui/dialogs/ImportResourcePackDialog.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/launcher/ui/dialogs/ImportResourcePackDialog.h b/launcher/ui/dialogs/ImportResourcePackDialog.h new file mode 100644 index 00000000..b077a811 --- /dev/null +++ b/launcher/ui/dialogs/ImportResourcePackDialog.h @@ -0,0 +1,24 @@ +#pragma once + +#include <QDialog> +#include <QItemSelection> + +namespace Ui { +class ImportResourcePackDialog; +} + +class ImportResourcePackDialog : public QDialog { + Q_OBJECT + + public: + explicit ImportResourcePackDialog(QWidget* parent = 0); + ~ImportResourcePackDialog(); + QString selectedInstanceKey; + + private: + Ui::ImportResourcePackDialog* ui; + + private slots: + void selectionChanged(QItemSelection, QItemSelection); + void activated(QModelIndex); +}; |