mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fixes to the About dialog & add the SystemInfo dialog.
Also fix the build on Mac OS X.
This commit is contained in:
31
Source/Core/DolphinQt/SystemInfo.h
Normal file
31
Source/Core/DolphinQt/SystemInfo.h
Normal file
@ -0,0 +1,31 @@
|
||||
// Copyright 2014 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class DSystemInfo;
|
||||
}
|
||||
|
||||
class DSystemInfo : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DSystemInfo(QWidget* parent_widget = nullptr);
|
||||
~DSystemInfo();
|
||||
|
||||
private slots:
|
||||
void btnCopy_pressed();
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui::DSystemInfo> m_ui;
|
||||
|
||||
void UpdateSystemInfo();
|
||||
QString GetOS();
|
||||
};
|
Reference in New Issue
Block a user