1 |
// qsamplerMainForm.cpp |
// qsamplerMainForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2023, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2024, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007-2019 Christian Schoenebeck |
Copyright (C) 2007-2019 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
1109 |
int iErrors = 0; |
int iErrors = 0; |
1110 |
QTextStream ts(&file); |
QTextStream ts(&file); |
1111 |
ts << "# " << QSAMPLER_TITLE " - " << tr(QSAMPLER_SUBTITLE) << endl; |
ts << "# " << QSAMPLER_TITLE " - " << tr(QSAMPLER_SUBTITLE) << endl; |
1112 |
ts << "# " << tr("Version") << ": " CONFIG_BUILD_VERSION << endl; |
ts << "# " << tr("Version") << ": " PROJECT_VERSION << endl; |
1113 |
// ts << "# " << tr("Build") << ": " CONFIG_BUILD_DATE << endl; |
// ts << "# " << tr("Build") << ": " CONFIG_BUILD_DATE << endl; |
1114 |
ts << "#" << endl; |
ts << "#" << endl; |
1115 |
ts << "# " << tr("File") |
ts << "# " << tr("File") |
2101 |
QString sText = "<h1>" QSAMPLER_TITLE "</h1>\n"; |
QString sText = "<h1>" QSAMPLER_TITLE "</h1>\n"; |
2102 |
sText += "<p>" + tr(QSAMPLER_SUBTITLE) + "<br />\n"; |
sText += "<p>" + tr(QSAMPLER_SUBTITLE) + "<br />\n"; |
2103 |
sText += "<br />\n"; |
sText += "<br />\n"; |
2104 |
sText += tr("Version") + ": <b>" CONFIG_BUILD_VERSION "</b><br />\n"; |
sText += tr("Version") + ": <b>" PROJECT_VERSION "</b><br />\n"; |
2105 |
// sText += "<small>" + tr("Build") + ": " CONFIG_BUILD_DATE "</small><br />\n"; |
// sText += "<small>" + tr("Build") + ": " CONFIG_BUILD_DATE "</small><br />\n"; |
2106 |
if (!list.isEmpty()) { |
if (!list.isEmpty()) { |
2107 |
sText += "<small><font color=\"red\">"; |
sText += "<small><font color=\"red\">"; |
2134 |
sText += tr("This program is free software; you can redistribute it and/or modify it") + "<br />\n"; |
sText += tr("This program is free software; you can redistribute it and/or modify it") + "<br />\n"; |
2135 |
sText += tr("under the terms of the GNU General Public License version 2 or later."); |
sText += tr("under the terms of the GNU General Public License version 2 or later."); |
2136 |
sText += "</small>"; |
sText += "</small>"; |
2137 |
|
sText += "<br />\n"; |
2138 |
sText += "</p>\n"; |
sText += "</p>\n"; |
2139 |
|
|
2140 |
QMessageBox::about(this, tr("About"), sText); |
QMessageBox::about(this, tr("About"), sText); |