mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
28 lines
784 B
C++
28 lines
784 B
C++
#include "AboutDialog.h"
|
|
#include "ui_AboutDialog.h"
|
|
#include "sqlite.h"
|
|
#include "Application.h"
|
|
|
|
AboutDialog::AboutDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::AboutDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
this->setFixedSize(this->width(), this->height());
|
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
|
|
ui->label_version->setText(tr("Version ") + Application::versionString() + "\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;
|
|
}
|