// Copyright (C) 2014 Gilles Degottex // This file is part of "fmit" // "fmit" is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // "fmit" is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "aboutbox.h" #include "ui_aboutbox.h" #include #include //#include "wmainwindow.h" #include "qthelper.h" //#include "qaesigproc.h" //#include "ftsound.h" extern QString FMITVersion(); AboutBox::AboutBox(QWidget *parent) : QDialog(parent), ui(new Ui::AboutBox) { ui->setupUi(this); QString fullversion = "Version "+FMITVersion(); fullversion += "\nCompiled by "+getCompilerVersion()+" for "; #ifdef Q_PROCESSOR_X86_32 fullversion += "32bits"; #endif #ifdef Q_PROCESSOR_X86_64 fullversion += "64bits"; #endif fullversion += "\nCompiled with Qt "+QString(QT_VERSION_STR)+" Running with Qt "+qVersion(); // Add Qt versions ui->lblVersion->setText(fullversion); QString txt = ""; txt += "

Purpose

"; txt += "FMIT is a graphical utility for tuning your musical instruments, with error and volume history and advanced features. "; txt += "

To suggest a new functionality or report a bug, do not hesitate to raise an issue on GitHub.

"; txt += "

Legal

\ The core of this software is under the GPL License.\ All original source files of any kind (code source and any ressources) are under the same license, except\ the content of the \"libs\" directory, which contains imported source code under various licenses.\

\ Copyright © 2004 Gilles Degottex <gilles.degottex@gmail.com>
\ FMIT is coded in C++/Qt.\ The source code is hosted on GitHub."; txt += "

Disclaimer

\ ALL THE FUNCTIONALITIES OF FMIT AND ITS CODE ARE PROVIDED WITHOUT ANY WARRANTY \ (E.G. THERE IS NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE). \ ALSO, THE COPYRIGHT HOLDERS AND CONTRIBUTORS DO NOT TAKE ANY LEGAL RESPONSIBILITY \ REGARDING THE IMPLEMENTATIONS OF THE PROCESSING TECHNIQUES OR ALGORITHMS \ (E.G. CONSEQUENCES OF BUGS OR ERRONEOUS IMPLEMENTATIONS).
\ Please see the README.txt file for additional information."; ui->txtAbout->setText(txt); // Libraries // FFT // QString fftinfostr = ""; // fftinfostr += "Fast Fourier Transform (FFT): "+qae::FFTwrapper::getLibraryInfo(); // fftinfostr += " ("+QString::number(sizeof(FFTTYPE)*8)+"bits("; // if(sizeof(FFTTYPE)==4) fftinfostr += "single"; // if(sizeof(FFTTYPE)==8) fftinfostr += "double"; // if(sizeof(FFTTYPE)==16) fftinfostr += "quadruple"; // fftinfostr += "); smallest: "+QString::number(20*log10(std::numeric_limits::min()))+"dB)"; // ui->vlLibraries->addWidget(new QLabel(fftinfostr, this)); // QMessageBox::aboutQt(this, "About this software"); } AboutBox::~AboutBox() { delete ui; }