1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 13:07:44 +00:00
novus/apps/armoury/include/mainwindow.h
Joshua Goins 0cf37355cb Switch to KXmlGuiWindow
This will eventually use more KStandardAction, and gets rid of our
custom code which is just doing a worse job than KXmlGui.
2024-05-27 18:18:54 -04:00

42 lines
No EOL
831 B
C++

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <KXmlGuiWindow>
#include <QComboBox>
#include <physis.hpp>
#include <unordered_map>
#include "fullmodelviewer.h"
#include "gearview.h"
#include "metadataview.h"
#include "mtrlpart.h"
#include "singlegearview.h"
struct GameData;
class FileCache;
class PenumbraApi;
class MainWindow : public KXmlGuiWindow
{
Q_OBJECT
public:
explicit MainWindow(GameData *data);
public Q_SLOTS:
void configure();
private:
void setupActions();
SingleGearView *gearView = nullptr;
FullModelViewer *fullModelViewer = nullptr;
QTabWidget *materialsView = nullptr;
MetadataView *metadataView = nullptr;
GameData &data;
FileCache cache;
PenumbraApi *m_api = nullptr;
};