GH-3033 Add filtering for version components

This commit is contained in:
Jamie Mansfield
2021-06-18 23:21:12 +01:00
parent cb22d5fb09
commit c0f72488d0
4 changed files with 39 additions and 5 deletions

View File

@@ -86,6 +86,7 @@ protected:
private:
Ui::VersionPage *ui;
QSortFilterProxyModel *m_filterModel;
std::shared_ptr<PackProfile> m_profile;
MinecraftInstance *m_inst;
int currentIdx = 0;
@@ -98,5 +99,6 @@ private slots:
void updateRunningStatus(bool running);
void onGameUpdateError(QString error);
void packageCurrent(const QModelIndex &current, const QModelIndex &previous);
void ShowContextMenu(const QPoint &pos);
void showContextMenu(const QPoint &pos);
void onFilterTextChanged(const QString & newContents);
};