1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-22 03:57:45 +00:00
novus/armoury/include/mainwindow.h

36 lines
712 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
2022-04-11 21:59:37 -04:00
#pragma once
#include <QComboBox>
2022-08-10 14:52:28 -04:00
#include <physis.hpp>
#include <unordered_map>
2022-04-11 21:59:37 -04:00
#include "fullmodelviewer.h"
2023-07-07 16:16:21 -04:00
#include "gearview.h"
2023-10-10 18:10:42 -04:00
#include "novusmainwindow.h"
#include "singlegearview.h"
struct GameData;
class FileCache;
class PenumbraApi;
2022-04-11 21:59:37 -04:00
2023-10-10 18:10:42 -04:00
class MainWindow : public NovusMainWindow
{
2023-10-12 23:44:48 -04:00
Q_OBJECT
2022-04-11 21:59:37 -04:00
public:
2023-10-12 23:44:48 -04:00
explicit MainWindow(GameData *data);
2022-04-12 20:02:50 -04:00
protected:
void setupAdditionalMenus(QMenuBar *menuBar) override;
2022-04-11 21:59:37 -04:00
private:
2023-10-12 23:44:48 -04:00
SingleGearView *gearView = nullptr;
FullModelViewer *fullModelViewer = nullptr;
2023-10-12 23:44:48 -04:00
GameData &data;
FileCache cache;
PenumbraApi *m_api = nullptr;
2022-04-11 21:59:37 -04:00
};