mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 13:07:44 +00:00
This will eventually use more KStandardAction, and gets rid of our custom code which is just doing a worse job than KXmlGui.
42 lines
No EOL
831 B
C++
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;
|
|
}; |