mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-20 22:31:47 +02:00
qt: added about box
This commit is contained in:
parent
06a7e181cd
commit
082c4f1104
9 changed files with 353 additions and 30 deletions
qt/i2pd_qt
23
qt/i2pd_qt/AboutDialog.cpp
Normal file
23
qt/i2pd_qt/AboutDialog.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include "AboutDialog.h"
|
||||
#include "ui_AboutDialog.h"
|
||||
#include <QDebug>
|
||||
#include "version.h"
|
||||
#include "BuildDateTimeQt.h"
|
||||
|
||||
AboutDialog::AboutDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::AboutDialog)
|
||||
{
|
||||
qDebug() << "AboutDialog::AboutDialog()" << endl;
|
||||
ui->setupUi(this);
|
||||
ui->i2pdVersionLabel->setText(I2PD_VERSION);
|
||||
ui->i2pVersionLabel->setText(I2P_VERSION);
|
||||
ui->buildDateTimeLabel->setText(BUILD_DATE_TIME_QT);
|
||||
ui->vcsCommitInfoLabel->setText(VCS_COMMIT_INFO);
|
||||
}
|
||||
|
||||
AboutDialog::~AboutDialog()
|
||||
{
|
||||
qDebug() << "AboutDialog::~AboutDialog()" << endl;
|
||||
delete ui;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue