mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
Move DolphinQt2 to DolphinQt
This commit is contained in:
parent
059880bb16
commit
13ba24c5a6
233 changed files with 392 additions and 392 deletions
44
Source/Core/DolphinQt/Config/InfoWidget.h
Normal file
44
Source/Core/DolphinQt/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 <string>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "UICommon/GameFile.h"
|
||||
|
||||
class QComboBox;
|
||||
class QGroupBox;
|
||||
class QLineEdit;
|
||||
class QPixmap;
|
||||
class QTextEdit;
|
||||
|
||||
class InfoWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InfoWidget(const UICommon::GameFile& game);
|
||||
|
||||
private:
|
||||
void ComputeChecksum();
|
||||
void ChangeLanguage();
|
||||
void SaveBanner();
|
||||
|
||||
QGroupBox* CreateBannerDetails();
|
||||
QGroupBox* CreateISODetails();
|
||||
QLineEdit* CreateValueDisplay(const QString& value);
|
||||
QLineEdit* CreateValueDisplay(const std::string& value = "");
|
||||
QWidget* CreateChecksumComputer();
|
||||
void CreateLanguageSelector();
|
||||
QWidget* CreateBannerGraphic(const QPixmap& image);
|
||||
|
||||
UICommon::GameFile m_game;
|
||||
QLineEdit* m_checksum_result;
|
||||
QComboBox* m_language_selector;
|
||||
QLineEdit* m_name;
|
||||
QLineEdit* m_maker;
|
||||
QTextEdit* m_description;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue