2023-02-28 01:15:26 +00:00
|
|
|
// AUTOGENERATED COPYRIGHT HEADER START
|
|
|
|
// Copyright (C) 2020-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
2020-04-05 16:52:06 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "common.hpp"
|
|
|
|
#include "ui-common.hpp"
|
|
|
|
|
2022-08-29 10:29:44 +00:00
|
|
|
#include "warning-disable.hpp"
|
2020-04-05 16:52:06 +00:00
|
|
|
#include "ui_about.h"
|
2022-08-29 10:29:44 +00:00
|
|
|
#include "warning-enable.hpp"
|
2020-04-05 16:52:06 +00:00
|
|
|
|
|
|
|
namespace streamfx::ui {
|
|
|
|
class about : public QDialog, public Ui::About {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-08-10 01:29:05 +00:00
|
|
|
enum class role_type : int32_t {
|
2020-04-05 16:52:06 +00:00
|
|
|
NONE,
|
|
|
|
CONTRIBUTOR,
|
|
|
|
TRANSLATOR,
|
2021-04-20 11:15:08 +00:00
|
|
|
SUPPORTER,
|
2020-04-05 16:52:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct entry {
|
|
|
|
std::string name;
|
|
|
|
ui::about::role_type role;
|
|
|
|
std::string role_custom;
|
2021-04-19 15:28:38 +00:00
|
|
|
std::string link;
|
2020-04-05 16:52:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
about();
|
|
|
|
~about();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
; // Not having this breaks some linters.
|
|
|
|
void on_ok();
|
|
|
|
};
|
|
|
|
} // namespace streamfx::ui
|