mirror of https://github.com/GOSTSec/gostcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
#include "aboutdialog.h" |
|
#include "ui_aboutdialog.h" |
|
|
|
#include "clientmodel.h" |
|
#include "clientversion.h" |
|
|
|
AboutDialog::AboutDialog(QWidget *parent) : |
|
QDialog(parent), |
|
ui(new Ui::AboutDialog) |
|
{ |
|
ui->setupUi(this); |
|
|
|
// Set current copyright year |
|
ui->copyrightLabel->setText( |
|
tr("Copyright") + QString(" © 2009-%1 ").arg(COPYRIGHT_YEAR) + tr("The Bitcoin developers") + QString("<br>") + |
|
tr("Copyright") + QString(" © 2011-%1 ").arg(COPYRIGHT_YEAR) + tr("The Litecoin developers") + QString("<br>") + |
|
tr("Copyright") + QString(" © 2013-%1 ").arg(COPYRIGHT_YEAR) + tr("The Anoncoin developers") + QString("<br>") + |
|
tr("Copyright") + QString(" © 2015-%1 ").arg(COPYRIGHT_YEAR) + tr("The i2pd developers") + QString("<br>") + |
|
tr("Copyright") + QString(" © %1 ").arg(COPYRIGHT_YEAR) + tr("The Gostcoin developers") |
|
); |
|
} |
|
|
|
void AboutDialog::setModel(ClientModel *model) |
|
{ |
|
if(model) |
|
{ |
|
ui->versionLabel->setText(model->formatFullVersion()); |
|
} |
|
} |
|
|
|
AboutDialog::~AboutDialog() |
|
{ |
|
delete ui; |
|
} |
|
|
|
void AboutDialog::on_buttonBox_accepted() |
|
{ |
|
close(); |
|
}
|
|
|