mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
GCVolume: supports reading all opening.bnr information
DQT2: Game properties dialog contains info tab giving information about the selected iso.
This commit is contained in:
parent
afa202738e
commit
b5104a79f1
29 changed files with 693 additions and 202 deletions
44
Source/Core/DolphinQt2/Config/InfoWidget.h
Normal file
44
Source/Core/DolphinQt2/Config/InfoWidget.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
// Copyright 2016 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "DolphinQt2/GameList/GameFile.h"
|
||||
|
||||
class QComboBox;
|
||||
class QGroupBox;
|
||||
class QTextEdit;
|
||||
class QLineEdit;
|
||||
|
||||
class InfoWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InfoWidget(const GameFile& game);
|
||||
|
||||
private slots:
|
||||
void ComputeChecksum();
|
||||
void ChangeLanguage();
|
||||
void SaveBanner();
|
||||
|
||||
private:
|
||||
QGroupBox* CreateBannerDetails();
|
||||
QGroupBox* CreateISODetails();
|
||||
QLineEdit* CreateValueDisplay() { return CreateValueDisplay(QStringLiteral("")); };
|
||||
QLineEdit* CreateValueDisplay(const QString& value);
|
||||
QWidget* CreateChecksumComputer();
|
||||
void CreateLanguageSelector();
|
||||
QWidget* CreateBannerGraphic();
|
||||
|
||||
GameFile m_game;
|
||||
QLineEdit* m_checksum_result;
|
||||
QComboBox* m_language_selector;
|
||||
QLineEdit* m_long_name;
|
||||
QLineEdit* m_short_name;
|
||||
QLineEdit* m_short_maker;
|
||||
QLineEdit* m_long_maker;
|
||||
QTextEdit* m_description;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue