1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 12:37:45 +00:00
novus/armoury/include/gearlistwidget.h

27 lines
484 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QTreeView>
#include <QWidget>
#include <physis.hpp>
#include "gearview.h"
2023-10-12 23:44:48 -04:00
class GearListWidget : public QWidget
{
Q_OBJECT
public:
2023-10-12 23:44:48 -04:00
explicit GearListWidget(GameData *data, QWidget *parent = nullptr);
Q_SIGNALS:
2023-10-12 23:44:48 -04:00
void gearSelected(const GearInfo &gear);
private:
2023-10-12 23:44:48 -04:00
QTreeView *listWidget = nullptr;
2023-10-12 23:44:48 -04:00
GameData *data = nullptr;
};