mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
27 lines
681 B
C++
27 lines
681 B
C++
#include "AboutDialog.h"
|
|
#include "ui_AboutDialog.h"
|
|
#include "version.h"
|
|
#include "sqlite.h"
|
|
|
|
AboutDialog::AboutDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::AboutDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
this->setFixedSize(this->width(), this->height());
|
|
|
|
ui->label_version->setText(tr("Version ") + APP_VERSION + "\n\n" +
|
|
tr("Qt Version ") + QT_VERSION_STR + "\n\n" +
|
|
#ifdef ENABLE_SQLCIPHER
|
|
tr("SQLCipher Version ") + SQLITE_VERSION
|
|
#else
|
|
tr("SQLite Version ") + SQLITE_VERSION
|
|
#endif
|
|
);
|
|
}
|
|
|
|
AboutDialog::~AboutDialog()
|
|
{
|
|
delete ui;
|
|
}
|