Qt: Add setup wizard
This commit is contained in:
@@ -22,14 +22,16 @@ public:
|
||||
explicit BIOSSettingsWidget(SettingsDialog* dialog, QWidget* parent);
|
||||
~BIOSSettingsWidget();
|
||||
|
||||
static void populateDropDownForRegion(ConsoleRegion region, QComboBox* cb,
|
||||
std::vector<std::pair<std::string, const BIOS::ImageInfo*>>& images,
|
||||
bool per_game);
|
||||
static void setDropDownValue(QComboBox* cb, const std::optional<std::string>& name, bool per_game);
|
||||
static std::vector<std::pair<std::string, const BIOS::ImageInfo*>> getList(const char* directory);
|
||||
|
||||
private Q_SLOTS:
|
||||
void refreshList();
|
||||
|
||||
private:
|
||||
void populateDropDownForRegion(ConsoleRegion region, QComboBox* cb,
|
||||
std::vector<std::pair<std::string, const BIOS::ImageInfo*>>& images);
|
||||
void setDropDownValue(QComboBox* cb, const std::optional<std::string>& name);
|
||||
|
||||
Ui::BIOSSettingsWidget m_ui;
|
||||
|
||||
SettingsDialog* m_dialog;
|
||||
|
||||
Reference in New Issue
Block a user