| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QDialog> |
| 7 |
|
| 8 |
#include "Common/CommonTypes.h" |
| 9 |
#include "Core/IOS/USB/Emulated/Skylanders/SkylanderFigure.h" |
| 10 |
|
| 11 |
class QVBoxLayout; |
| 12 |
class QDialogButtonBox; |
| 13 |
|
| 14 |
class SkylanderModifyDialog : public QDialog |
| 15 |
{ |
| 16 |
public: |
| 17 |
explicit SkylanderModifyDialog(QWidget* parent = nullptr, u8 slot = 0); |
| 18 |
|
| 19 |
private: |
| 20 |
void PopulateSkylanderOptions(QVBoxLayout* layout); |
| 21 |
bool PopulateTrophyOptions(QVBoxLayout* layout); |
| 22 |
void accept() override; |
| 23 |
|
| 24 |
bool m_allow_close = false; |
| 25 |
u8 m_slot; |
| 26 |
IOS::HLE::USB::FigureData m_figure_data; |
| 27 |
IOS::HLE::USB::SkylanderFigure* m_figure; |
| 28 |
QDialogButtonBox* m_buttons; |
| 29 |
}; |