Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DlgAbout.cpp
Go to the documentation of this file.
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #include "DlgAbout.h"
8 #include "MainWindow.h"
9 #include "Version.h"
10 
12  QMessageBox (&mainWindow),
13  m_mainWindow (mainWindow)
14 {
15  setWindowTitle (tr ("About Engauge"));
16  setTextFormat (Qt::RichText);
17 
18  // Do not embed single quotes in the strings below since that will interfere with the translations
19  setText (QString ("<p>%1 %2 %3</p> <p>&copy; Mark Mitchell</p><p>%4</p><p>%5</p><p>%6</p><p>%7</p><p>%8:</p>"
20  "<ul>"
21  "<li><a href=\"https://github.com/markummitchell/engauge-digitizer\">%9</a></li>"
22  "<li><a href=\"https://gitter.im/markummitchell/engauge-digitizer\">%10</a></li>"
23  "</ul>"
24  "<p>FFTW 3.X.X:</p>"
25  "<ul>"
26  "<li><a href=\"http://www.fftw.org\">%11</a></li>"
27  "</ul>"
28  "<p>OpenJPEG 2.X:</p>"
29  "<ul>"
30  "<li><a href=\"http://www.openjpeg.org\">%12</a></li>"
31  "</ul>")
32  .arg (tr ("Engauge Digitizer"))
33  .arg (tr ("Version"))
34  .arg (VERSION_NUMBER)
35  .arg (tr ("Engauge Digitizer is an open source tool for efficiently extracting accurate numeric data from "
36  "images of graphs. The process may be considered as inverse graphing. When you engauge a document, "
37  "you are converting pixels into numbers."))
38  .arg (tr ("This is free software, and you are welcome to redistribute it under "
39  "certain conditions according to the GNU General Public License Version 2,"
40  "or (at your option) any later version."))
41  .arg (tr ("Engauge Digitizer comes with ABSOLUTELY NO WARRANTY."))
42  .arg (tr ("Read the included LICENSE file for details."))
43  .arg (tr ("Engauge Digitizer"))
44  .arg (tr ("Project Home Page"))
45  .arg (tr ("Gitter Forum"))
46  .arg (tr ("Project Page"))
47  .arg (tr ("Project Page")));
48 }
DlgAbout(MainWindow &mainWindow)
Single constructor.
Definition: DlgAbout.cpp:11
const char * VERSION_NUMBER
Definition: Version.cpp:12
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:91