1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-14 20:47:46 +00:00
novus/apps/mapeditor/include/objectlistwidget.h
Joshua Goins fa47841440 Add object list to map editor, begin parsing background LGB
This is super basic at the moment, but still super cool!
2025-05-13 15:51:35 -04:00

26 lines
508 B
C++

// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QListView>
#include <QWidget>
#include <physis.hpp>
class QStringListModel;
class AppState;
class ObjectListWidget : public QWidget
{
Q_OBJECT
public:
explicit ObjectListWidget(AppState *appState, QWidget *parent = nullptr);
private:
void refresh();
QListView *listWidget = nullptr;
AppState *m_appState;
QStringListModel *m_originalModel;
};