mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
qt: added about box
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user