1 | //------------------------------------------------------------------------------// |
---|
2 | // This file is part of PALM. |
---|
3 | // |
---|
4 | // PALM is free software: you can redistribute it and/or modify it under the terms |
---|
5 | // of the GNU General Public License as published by the Free Software Foundation, |
---|
6 | // either version 3 of the License, or (at your option) any later version. |
---|
7 | // |
---|
8 | // PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
9 | // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
10 | // A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
11 | // |
---|
12 | // You should have received a copy of the GNU General Public License along with |
---|
13 | // PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
14 | // |
---|
15 | // Copyright 1997-2012 Leibniz University Hannover |
---|
16 | //--------------------------------------------------------------------------------// |
---|
17 | // |
---|
18 | // Current revisions: |
---|
19 | // ----------------- |
---|
20 | // |
---|
21 | // |
---|
22 | // Former revisions: |
---|
23 | // ----------------- |
---|
24 | // $Id: main.cpp 1805 2016-04-05 16:32:34Z boeske $ |
---|
25 | // |
---|
26 | // 1804 2016-04-05 16:30:18Z maronga |
---|
27 | // Update for use with qt5 |
---|
28 | // |
---|
29 | // 1046 2012-11-09 14:38:45Z maronga |
---|
30 | // code put under GPL (PALM 3.9) |
---|
31 | // |
---|
32 | // 793 2011-12-12 15:15:24Z maronga |
---|
33 | // Initial revision |
---|
34 | // |
---|
35 | // Description: |
---|
36 | // ------------ |
---|
37 | // Graphical user-interface (GUI) for the mrun script. All routines are placed |
---|
38 | // in mainwindow.cpp. There are three windows: mainwindow; and two childs: |
---|
39 | // about window and a help window (files ending with .ui). The initial code was |
---|
40 | // written using Qt Creator 2.3.0. |
---|
41 | //----------------------------------------------------------------------------// |
---|
42 | |
---|
43 | #include <QApplication> |
---|
44 | #include "mainwindow.h" |
---|
45 | #include <QProcess> |
---|
46 | |
---|
47 | int main(int argc, char *argv[]) |
---|
48 | { |
---|
49 | |
---|
50 | QApplication app(argc, argv); |
---|
51 | // app.setWindowIcon(QIcon("./mrungui.png")); |
---|
52 | |
---|
53 | MainWindow w; |
---|
54 | w.show(); |
---|
55 | |
---|
56 | return app.exec(); |
---|
57 | } |
---|
58 | |
---|
59 | |
---|