2014-09-14 19:03:07 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-09-15 00:44:07 +00:00
|
|
|
#include <memory>
|
2014-09-14 19:03:07 +00:00
|
|
|
#include <QMainWindow>
|
|
|
|
|
|
|
|
// Predefinitions
|
2014-10-27 17:11:39 +00:00
|
|
|
namespace Ui
|
|
|
|
{
|
2014-09-14 19:03:07 +00:00
|
|
|
class DMainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class DMainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2014-10-18 15:07:17 +00:00
|
|
|
explicit DMainWindow(QWidget* parent_widget = nullptr);
|
2014-09-14 19:03:07 +00:00
|
|
|
~DMainWindow();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
// Help menu
|
|
|
|
void on_actWebsite_triggered();
|
|
|
|
void on_actOnlineDocs_triggered();
|
|
|
|
void on_actGitHub_triggered();
|
2014-10-25 13:21:05 +00:00
|
|
|
void on_actSystemInfo_triggered();
|
2014-09-14 19:03:07 +00:00
|
|
|
void on_actAbout_triggered();
|
|
|
|
|
|
|
|
private:
|
2014-10-25 13:21:05 +00:00
|
|
|
std::unique_ptr<Ui::DMainWindow> m_ui;
|
2014-09-14 19:03:07 +00:00
|
|
|
};
|