mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
df38573ff6
AchievementSettingsWidget is a dialog widget in AchievementsWindow for handling RetroAchievements settings in the user interface. This class contains the physical layout, widget connections, load/save functions and button responses. AchievementsWindow now has a tabbed list that this is inserted into; other tabs will be in a later pull request.
29 lines
528 B
C++
29 lines
528 B
C++
// Copyright 2023 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
|
#include <QDialog>
|
|
|
|
class QTabWidget;
|
|
class QDialogButtonBox;
|
|
|
|
class AchievementsWindow : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AchievementsWindow(QWidget* parent);
|
|
void UpdateData();
|
|
|
|
private:
|
|
void CreateMainLayout();
|
|
void showEvent(QShowEvent* event);
|
|
void ConnectWidgets();
|
|
|
|
QTabWidget* m_tab_widget;
|
|
QDialogButtonBox* m_button_box;
|
|
};
|
|
|
|
#endif // USE_RETRO_ACHIEVEMENTS
|