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