pcsx2/pcsx2-qt/AboutDialog.h

32 lines
712 B
C++

// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
#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();
static QString getThirdPartyLicensesUrl();
static QString getDiscordServerUrl();
static void showHTMLDialog(QWidget* parent, const QString& title, const QString& url);
private Q_SLOTS:
void linksLinkActivated(const QString& link);
private:
Ui::AboutDialog m_ui;
};