[1046] | 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 | // |
---|
[793] | 18 | // Current revisions: |
---|
| 19 | // ----------------- |
---|
| 20 | // |
---|
| 21 | // Former revisions: |
---|
| 22 | // ----------------- |
---|
| 23 | // $Id: main.cpp 1047 2012-11-09 15:32:58Z raasch $ |
---|
| 24 | // |
---|
[1047] | 25 | // 1046 2012-11-09 14:38:45Z maronga |
---|
| 26 | // code put under GPL (PALM 3.9) |
---|
| 27 | // |
---|
[794] | 28 | // 793 2011-12-12 15:15:24Z maronga |
---|
| 29 | // Initial revision |
---|
| 30 | // |
---|
[793] | 31 | // Description: |
---|
| 32 | // ------------ |
---|
| 33 | // Graphical user-interface (GUI) for the mrun script. All routines are placed |
---|
| 34 | // in mainwindow.cpp. There are three windows: mainwindow; and two childs: |
---|
| 35 | // about window and a help window (files ending with .ui). The initial code was |
---|
| 36 | // written using Qt Creator 2.3.0. |
---|
| 37 | //----------------------------------------------------------------------------// |
---|
| 38 | |
---|
| 39 | #include <QtGui/QApplication> |
---|
| 40 | #include "mainwindow.h" |
---|
| 41 | #include <QProcess> |
---|
| 42 | |
---|
| 43 | int main(int argc, char *argv[]) |
---|
| 44 | { |
---|
| 45 | |
---|
| 46 | QApplication app(argc, argv); |
---|
| 47 | // app.setWindowIcon(QIcon("./mrungui.png")); |
---|
| 48 | |
---|
| 49 | MainWindow w; |
---|
| 50 | w.show(); |
---|
| 51 | |
---|
| 52 | return app.exec(); |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | |
---|