2018-07-28 16:32:16 +00:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureGameList;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureGameList : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ConfigureGameList(QWidget* parent = nullptr);
|
2018-12-02 19:10:28 +00:00
|
|
|
~ConfigureGameList() override;
|
2018-07-28 16:32:16 +00:00
|
|
|
|
2019-05-26 04:39:23 +00:00
|
|
|
void ApplyConfiguration();
|
2018-07-28 16:32:16 +00:00
|
|
|
|
|
|
|
private:
|
2018-11-04 00:38:39 +00:00
|
|
|
void RequestGameListUpdate();
|
|
|
|
|
2019-05-26 04:39:23 +00:00
|
|
|
void SetConfiguration();
|
2018-07-28 16:32:16 +00:00
|
|
|
|
2018-09-12 05:11:25 +00:00
|
|
|
void changeEvent(QEvent*) override;
|
|
|
|
void RetranslateUI();
|
|
|
|
|
2018-09-12 05:06:50 +00:00
|
|
|
void InitializeIconSizeComboBox();
|
|
|
|
void InitializeRowComboBoxes();
|
|
|
|
|
2018-07-28 16:32:16 +00:00
|
|
|
std::unique_ptr<Ui::ConfigureGameList> ui;
|
|
|
|
};
|