From: tobtoht Date: Fri, 13 Jan 2023 12:08:48 +0000 (+0100) Subject: About: foxes don't have feathers X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=3c68a56738cc6e90a930802486ec6d3e46a68378;p=gamesguru%2Ffeather.git About: foxes don't have feathers --- diff --git a/src/dialog/AboutDialog.cpp b/src/dialog/AboutDialog.cpp index bda3821e..dacb382c 100644 --- a/src/dialog/AboutDialog.cpp +++ b/src/dialog/AboutDialog.cpp @@ -4,6 +4,8 @@ #include "AboutDialog.h" #include "ui_AboutDialog.h" +#include + #include "config-feather.h" #include "utils/Utils.h" @@ -27,6 +29,10 @@ AboutDialog::AboutDialog(QWidget *parent) auto ack_text = Utils::barrayToString(ack); ui->ackText->setText(ack_text); + connect(ui->aboutImage, &ClickableLabel::clicked, [this](){ + QMessageBox::information(this, "...", "Foxes don't have feathers."); + }); + this->adjustSize(); } diff --git a/src/dialog/AboutDialog.ui b/src/dialog/AboutDialog.ui index dce685a8..27d25ccf 100644 --- a/src/dialog/AboutDialog.ui +++ b/src/dialog/AboutDialog.ui @@ -31,7 +31,7 @@ - + image @@ -232,6 +232,13 @@ + + + ClickableLabel + QLabel +
components.h
+
+