4 #include "moc_DynExpAbout.cpp"
8 : QDialog(parent, Qt::Dialog | Qt::WindowTitleHint | Qt::WindowCloseButtonHint)
15 ui.labelCopyright->setText(
"Copyright (C) 2020-" + QString::number(
CompilationYear()) +
" Julian M. Bopp");
16 ui.labelQtVersion->setText(
"Using Qt " + QString(QT_VERSION_STR)
17 +
" under the terms of the GNU General Public License version 3.");
18 ui.labelGSLVersion->setText(
"Using the GNU Scientific Library " + QString(GSL_VERSION)
19 +
" under the terms of the GNU General Public License version 3.");
20 ui.labelgRPCVersion->setText(
"Using gRPC " + QString(grpc_version_string())
21 +
" under the terms of the <a href=\"http://www.apache.org/licenses/LICENSE-2.0\">Apache License, Version 2.0</a>.");
22 ui.labelPythonVersion->setText(
"Using Python " + QString(PY_VERSION)
23 +
" under the terms of the <a href=\"https://docs.python.org/3/license.html#psf-license\">Python Software Foundation License Agreement</a>.");
24 ui.labelpybind11Version->setText(
"Using pybind11 "
26 +
" under a <a href=\"https://github.com/pybind/pybind11/blob/master/LICENSE\">BSD-style license</a>.");
Implements a dialog to show license information about DynExp.
constexpr int CompilationYear()
Extracts the compilation year from the DATE macro.
DynExpAbout(QWidget *parent)
constexpr auto DynExpVersion
DynExp's version string
std::string ToStr(const T &Value, int Precision=-1)
Converts a (numeric) value of type T to a std::string using operator<< of std::stringstream.
Data type describing DynExp's program version in the form Major.Minor.Patch.
Accumulates include statements to provide a precompiled header.