mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 20:12:34 +00:00
GH-2124 First complete implementation, installing is working now! GH-2172 Added sorting
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <modplatform/PackHelpers.h>
|
||||
#include "ui_ChooseFtbPackDialog.h"
|
||||
#include <modplatform/PackHelpers.h>
|
||||
#include "FtbListModel.h"
|
||||
|
||||
namespace Ui {
|
||||
class ChooseFtbPackDialog;
|
||||
@@ -18,11 +19,13 @@ private:
|
||||
Ui::ChooseFtbPackDialog *ui;
|
||||
FtbModpack selected;
|
||||
QString selectedVersion;
|
||||
FtbListModel* listModel;
|
||||
FtbFilterModel* filterModel;
|
||||
|
||||
private slots:
|
||||
void onListItemClicked(QListWidgetItem *item);
|
||||
void onSortingSelectionChanged(QString data);
|
||||
void onVersionSelectionItemChanged(QString data);
|
||||
|
||||
void onPackSelectionChanged(QModelIndex first, QModelIndex second);
|
||||
public:
|
||||
ChooseFtbPackDialog(FtbModpackList packs);
|
||||
~ChooseFtbPackDialog();
|
||||
|
||||
Reference in New Issue
Block a user