Rev 1221 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
671 | werner | 1 | /******************************************************************************************** |
2 | ** iLand - an individual based forest landscape and disturbance model |
||
3 | ** http://iland.boku.ac.at |
||
4 | ** Copyright (C) 2009- Werner Rammer, Rupert Seidl |
||
5 | ** |
||
6 | ** This program is free software: you can redistribute it and/or modify |
||
7 | ** it under the terms of the GNU General Public License as published by |
||
8 | ** the Free Software Foundation, either version 3 of the License, or |
||
9 | ** (at your option) any later version. |
||
10 | ** |
||
11 | ** This program is distributed in the hope that it will be useful, |
||
12 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
13 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
14 | ** GNU General Public License for more details. |
||
15 | ** |
||
16 | ** You should have received a copy of the GNU General Public License |
||
17 | ** along with this program. If not, see <http://www.gnu.org/licenses/>. |
||
18 | ********************************************************************************************/ |
||
19 | |||
323 | werner | 20 | #include "aboutdialog.h" |
21 | #include "ui_aboutdialog.h" |
||
22 | #include "version.h" |
||
23 | AboutDialog::AboutDialog(QWidget *parent) : |
||
24 | QDialog(parent), |
||
25 | ui(new Ui::AboutDialog) |
||
26 | { |
||
27 | ui->setupUi(this); |
||
28 | // fetch version information |
||
434 | werner | 29 | const char *bd = __DATE__; |
807 | werner | 30 | ui->version->setText( QString("Version: %1 %2").arg(currentVersion()).arg(compiler()) ); |
434 | werner | 31 | ui->svnversion->setText( QString("SVN-Revision: %1 - build date: %2").arg(svnRevision()).arg(bd)); |
323 | werner | 32 | |
33 | } |
||
34 | |||
35 | AboutDialog::~AboutDialog() |
||
36 | { |
||
37 | delete ui; |
||
38 | } |