Files
KytyPS5/src/launcher/include/trophyViewerDialog.h
T
2026-10-05 10:24:12 +04:00

25 lines
603 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, const QString& runtime_directory,
QWidget* parent);
private:
bool LoadGame(const Configuration& info, const QString& runtime_directory, QString& error);
QTabWidget* m_tabs = nullptr;
};
#endif // TROPHY_VIEWER_DIALOG_H