KytyPS5/src/launcher/include/trophyViewerDialog.h

24 lines
510 B
C++

#ifndef TROPHY_VIEWER_DIALOG_H
#define TROPHY_VIEWER_DIALOG_H
#include <QDialog>
class QTabWidget;
class QWidget;
class Configuration;
class TrophyViewerDialog: public QDialog {
public:
explicit TrophyViewerDialog(QWidget* parent = nullptr);
static bool HasTrophyData(const Configuration* info);
static void ShowForGame(const Configuration* info, QWidget* parent);
private:
bool LoadGame(const Configuration& info, QString& error);
QTabWidget* m_tabs = nullptr;
};
#endif // TROPHY_VIEWER_DIALOG_H