From: Shane Jaroch Date: Wed, 21 Jan 2026 19:49:28 +0000 (-0500) Subject: add info dialo X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=9b4288b0f9ce8c10a333a927645c9f2969ac4470;p=nutratech%2Fgui.git add info dialo --- 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);