mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-22 12:07:45 +00:00
25 lines
457 B
C
25 lines
457 B
C
|
// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
|
||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QListView>
|
||
|
#include <QWidget>
|
||
|
#include <physis.hpp>
|
||
|
|
||
|
class MapListWidget : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MapListWidget(GameData *data, QWidget *parent = nullptr);
|
||
|
|
||
|
Q_SIGNALS:
|
||
|
void mapSelected(const QString &name);
|
||
|
|
||
|
private:
|
||
|
QListView *listWidget = nullptr;
|
||
|
|
||
|
GameData *data = nullptr;
|
||
|
};
|