About: foxes don't have feathers

This commit is contained in:
tobtoht 2023-01-13 13:08:48 +01:00
parent fd820eefb9
commit 3c68a56738
2 changed files with 14 additions and 1 deletions

View file

@ -4,6 +4,8 @@
#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include <QMessageBox>
#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();
}

View file

@ -31,7 +31,7 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="aboutImage">
<widget class="ClickableLabel" name="aboutImage">
<property name="text">
<string>image</string>
</property>
@ -232,6 +232,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ClickableLabel</class>
<extends>QLabel</extends>
<header>components.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>