mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-22 03:57:45 +00:00
23 lines
372 B
C
23 lines
372 B
C
|
#pragma once
|
||
|
|
||
|
#include <QTreeView>
|
||
|
#include <QWidget>
|
||
|
#include <physis.hpp>
|
||
|
|
||
|
#include "gearview.h"
|
||
|
|
||
|
class GearListWidget : public QWidget {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit GearListWidget(GameData* data, QWidget* parent = nullptr);
|
||
|
|
||
|
Q_SIGNALS:
|
||
|
void gearSelected(const GearInfo& gear);
|
||
|
|
||
|
private:
|
||
|
QTreeView* listWidget = nullptr;
|
||
|
|
||
|
GameData* data = nullptr;
|
||
|
};
|