diff --git a/medea/src/app/Controllers/ViewController/viewcontroller.cpp b/medea/src/app/Controllers/ViewController/viewcontroller.cpp index f3819787a..76d6e2112 100644 --- a/medea/src/app/Controllers/ViewController/viewcontroller.cpp +++ b/medea/src/app/Controllers/ViewController/viewcontroller.cpp @@ -1909,9 +1909,61 @@ void ViewController::aboutQt() void ViewController::aboutMEDEA() { + auto q_string = [] (const std::basic_string_view str) { + return QString::fromStdString(std::string{str}); + }; + + QString&& header_string = + "

MEDEA " % q_string(SEM::GetVersion()) % "

" + "getHighlightColorHex() % ";\">" + "Centre for Distributed and Intelligent Technologies - Modelling and Analysis

" + "The University of Adelaide

"; + + QString&& project_sources = + "
Project Links:

" + "Repository: https://github.com/cdit-ma/SEM
" + "Website: https://cdit-ma.github.io


"; + + QString&& project_lead = + "Project Lead:" + ""; + + QStringList&& members = { + "Cathlyn Aston", + "Vanea Chiprianov", + "Mitchell Conrad", + "Daniel Fraser", + "Matthew Hart", + "Jim Lin", + "Jackson Michael", + "Marianne Rieckmann" + }; + + QString about_medea; + QTextStream stream(&about_medea); + stream << header_string; + stream << project_sources; + stream << project_lead; + + stream << "Contributors:"; + stream << ""; + + BaseWindow* window = WindowManager::manager()->getActiveWindow(); + QMessageBox::about(window, "About MEDEA " % q_string(SEM::GetVersion()), about_medea); + + /* QString aboutString = "

MEDEA " % QString::fromStdString(std::string{SEM::GetVersion()}) % "

" - "getHighlightColorHex() %";\">Center for Distributed and Intelligent Systems - Model Analysis
" + "getHighlightColorHex() % + ";\">Centre for Distributed and Intelligent Technologies - Modelling and Analysis
" "The University of Adelaide

" "Team:" ""; + BaseWindow* window = WindowManager::manager()->getActiveWindow(); QMessageBox::about(window, "About MEDEA " % QString::fromStdString(std::string{SEM::GetVersion()}), aboutString); + */ } void ViewController::cut()