1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-21 19:57:44 +00:00
novus/sagasu/include/filetreewindow.h

30 lines
667 B
C
Raw Normal View History

// 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"
2023-10-10 18:02:13 -04:00
class FileTreeWindow : public QWidget
{
Q_OBJECT
public:
explicit FileTreeWindow(QString gamePath, GameData *data, QWidget *parent = nullptr);
2023-09-26 00:37:55 -04:00
Q_SIGNALS:
void extractFile(QString path);
void pathSelected(QString path);
private:
void refreshModel();
GameData *data = nullptr;
FileTreeModel *m_fileModel;
QSortFilterProxyModel *m_searchModel;
QCheckBox *m_unknownCheckbox;
QString m_gamePath;
};