1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-22 03:57:45 +00:00
novus/apps/mdlviewer/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

28 lines
No EOL
499 B
C++

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include "filecache.h"
#include <KXmlGuiWindow>
#include <QFormLayout>
struct GameData;
class MDLPart;
class MainWindow : public KXmlGuiWindow
{
Q_OBJECT
public:
explicit MainWindow(GameData *data);
private:
void setupActions();
GameData *data = nullptr;
MDLPart *part = nullptr;
FileCache cache;
QFormLayout *m_detailsLayout = nullptr;
};