-
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #696 from Ryex/import-all-the-things
- Loading branch information
Showing
12 changed files
with
149 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
#include <QDialog> | ||
#include <QItemSelection> | ||
|
||
#include "minecraft/mod/tasks/LocalResourceParse.h" | ||
#include "ui/instanceview/InstanceProxyModel.h" | ||
|
||
namespace Ui { | ||
class ImportResourceDialog; | ||
} | ||
|
||
class ImportResourceDialog : public QDialog { | ||
Q_OBJECT | ||
|
||
public: | ||
explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = nullptr); | ||
~ImportResourceDialog() override; | ||
QString selectedInstanceKey; | ||
|
||
private: | ||
Ui::ImportResourceDialog* ui; | ||
PackedResourceType m_resource_type; | ||
QString m_file_path; | ||
InstanceProxyModel* proxyModel; | ||
|
||
private slots: | ||
void selectionChanged(QItemSelection, QItemSelection); | ||
void activated(QModelIndex); | ||
}; |
Oops, something went wrong.