2014-10-25 13:21:05 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-10-25 13:21:05 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class DSystemInfo;
|
|
|
|
}
|
|
|
|
|
2015-09-12 17:33:03 +00:00
|
|
|
class DSystemInfo final : public QDialog
|
2014-10-25 13:21:05 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit DSystemInfo(QWidget* parent_widget = nullptr);
|
|
|
|
~DSystemInfo();
|
|
|
|
|
|
|
|
private slots:
|
2014-11-26 20:40:38 +00:00
|
|
|
void CopyPressed();
|
2014-10-25 13:21:05 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::DSystemInfo> m_ui;
|
|
|
|
|
|
|
|
void UpdateSystemInfo();
|
2014-10-26 01:51:58 +00:00
|
|
|
QString GetOS() const;
|
2014-10-25 13:21:05 +00:00
|
|
|
};
|