mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
About: foxes don't have feathers
This commit is contained in:
parent
fd820eefb9
commit
3c68a56738
2 changed files with 14 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue