mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-21 19:57:44 +00:00
31 lines
No EOL
719 B
C++
31 lines
No EOL
719 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QCheckBox>
|
|
#include <QSortFilterProxyModel>
|
|
#include <physis.hpp>
|
|
|
|
#include "filetreemodel.h"
|
|
|
|
class FileTreeWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FileTreeWindow(const QString &gamePath, GameData *data, QWidget *parent = nullptr);
|
|
|
|
Q_SIGNALS:
|
|
void extractFile(const QString &path);
|
|
void pathSelected(const QString &path);
|
|
|
|
private:
|
|
void refreshModel();
|
|
|
|
GameData *data = nullptr;
|
|
FileTreeModel *m_fileModel = nullptr;
|
|
QSortFilterProxyModel *m_searchModel = nullptr;
|
|
QCheckBox *m_unknownCheckbox = nullptr;
|
|
QString m_gamePath;
|
|
}; |