// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #include "JFJochAcknowledgementWindow.h" #include #include #include JFJochAcknowledgementWindow::JFJochAcknowledgementWindow(QWidget *parent) : QDialog(parent) { setWindowTitle("Acknowledgements"); resize(800, 600); auto *browser = new QTextBrowser(this); browser->setOpenExternalLinks(true); // DOI and repository links open in the system browser QFile file(":/ACKNOWLEDGEMENT.md"); if (file.open(QIODevice::ReadOnly | QIODevice::Text)) browser->setMarkdown(QString::fromUtf8(file.readAll())); auto *layout = new QVBoxLayout(this); layout->addWidget(browser); }