From 9b4288b0f9ce8c10a333a927645c9f2969ac4470 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Wed, 21 Jan 2026 14:49:28 -0500 Subject: [PATCH] add info dialo --- src/mainwindow.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c03a20b..c326108 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -59,6 +59,16 @@ void MainWindow::setupUi() { auto* aboutAction = helpMenu->addAction("&About"); connect(aboutAction, &QAction::triggered, this, &MainWindow::onAbout); + auto* infoAction = helpMenu->addAction("&Info"); + connect(infoAction, &QAction::triggered, this, [this]() { + QMessageBox::information( + this, "Philosophy", + "It's a free app designed not as a weight-loss app but a true nutrition " + "coach, giving insights into what you're getting and what you're lacking, " + "empowering you to make more informed and healthy decisions and live more " + "of the vibrant life you were put here for."); + }); + auto* centralWidget = new QWidget(this); setCentralWidget(centralWidget); -- 2.52.0