Single constructor.
13 :
14 QMessageBox (&mainWindow),
15 m_mainWindow (mainWindow)
16{
17 setWindowTitle (tr ("About Engauge"));
18 setTextFormat (Qt::RichText);
19
20
21 setText (QString ("<p>%1 %2 %3</p> <p>© Mark Mitchell</p><p>%4</p><p>%5</p><p>%6</p><p>%7</p><p>%8:</p>"
22 "<ul>"
23 "<li><a href=\"https://github.com/markummitchell/engauge-digitizer\">%9</a></li>"
24 "<li><a href=\"https://gitter.im/markummitchell/engauge-digitizer\">%10</a></li>"
25 "</ul>"
26 "<p>FFTW 3.X.X:</p>"
27 "<ul>"
28 "<li><a href=\"http://www.fftw.org\">%11</a></li>"
29 "</ul>"
30 "<p>OpenJPEG 2.X:</p>"
31 "<ul>"
32 "<li><a href=\"http://www.openjpeg.org\">%12</a></li>"
33 "</ul>")
34 .arg (tr ("Engauge Digitizer"))
35 .arg (tr ("Version"))
37 .arg (tr ("Engauge Digitizer is an open source tool for efficiently extracting accurate numeric data from "
38 "images of graphs. The process may be considered as inverse graphing. When you engauge a document, "
39 "you are converting pixels into numbers."))
40 .arg (tr ("This is free software, and you are welcome to redistribute it under "
41 "certain conditions according to the GNU General Public License Version 2,"
42 "or (at your option) any later version."))
43 .arg (tr ("Engauge Digitizer comes with ABSOLUTELY NO WARRANTY."))
44 .arg (tr ("Read the included LICENSE file for details."))
45 .arg (tr ("Engauge Digitizer"))
46 .arg (tr ("Project Home Page"))
47 .arg (tr ("Gitter Forum"))
48 .arg (tr ("Project Page"))
49 .arg (tr ("Project Page")));
50
51
52
53 QSpacerItem *spacer = new QSpacerItem (800,
54 0,
55 QSizePolicy::Minimum,
56 QSizePolicy::Expanding);
57 QGridLayout *layout = dynamic_cast<QGridLayout *> (this->layout());
58 layout->addItem (spacer,
59 layout->rowCount(),
60 0,
61 1,
62 layout->columnCount());
63}
const char * VERSION_NUMBER