2024-07-30 11:42:36 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2021-12-13 12:12:54 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ui_AboutDialog.h"
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
|
|
|
|
class AboutDialog final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit AboutDialog(QWidget* parent = nullptr);
|
|
|
|
~AboutDialog();
|
|
|
|
|
|
|
|
static QString getWebsiteUrl();
|
|
|
|
static QString getSupportForumsUrl();
|
|
|
|
static QString getGitHubRepositoryUrl();
|
|
|
|
static QString getLicenseUrl();
|
2024-01-07 09:30:55 +00:00
|
|
|
static QString getThirdPartyLicensesUrl();
|
2021-12-13 12:12:54 +00:00
|
|
|
static QString getDiscordServerUrl();
|
|
|
|
|
2024-01-07 09:30:55 +00:00
|
|
|
static void showHTMLDialog(QWidget* parent, const QString& title, const QString& url);
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void linksLinkActivated(const QString& link);
|
|
|
|
|
2021-12-13 12:12:54 +00:00
|
|
|
private:
|
|
|
|
Ui::AboutDialog m_ui;
|
|
|
|
};
|