dolphin/Source/Core/DolphinQt/Achievements/AchievementProgressWidget.h
LillyJadeKatrin 3793d723b9 Created AchievementBox Qt object
AchievementBox is an extension of QGroupBox that contains the data for a single achievement, initialized with the achievement data and able to reference AchievementManager to update itself.
2024-05-01 06:43:20 -04:00

32 lines
576 B
C++

// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#ifdef USE_RETRO_ACHIEVEMENTS
#include <QWidget>
#include "Common/CommonTypes.h"
class QCheckBox;
class QGroupBox;
class QLineEdit;
class QPushButton;
class QVBoxLayout;
struct rc_api_achievement_definition_t;
class AchievementProgressWidget final : public QWidget
{
Q_OBJECT
public:
explicit AchievementProgressWidget(QWidget* parent);
void UpdateData();
private:
QGroupBox* m_common_box;
QVBoxLayout* m_common_layout;
};
#endif // USE_RETRO_ACHIEVEMENTS