Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / experimental / tools / DocumentationHelper / mainwindow.h
blob4b482cd80b4c43efe3c4195abb1c1841b2044a8f
1 /**
2 ******************************************************************************
4 * @file mainwindow.h
5 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
6 * @brief
7 * @see The GNU Public License (GPL) Version 3
8 * @defgroup DocumentationHelper
9 * @{
11 *****************************************************************************/
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 3 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 * for more details.
23 * You should have received a copy of the GNU General Public License along
24 * with this program; if not, write to the Free Software Foundation, Inc.,
25 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #ifndef MAINWINDOW_H
28 #define MAINWINDOW_H
30 #include <QMainWindow>
31 #include <QDir>
32 #include <QStringList>
33 #include <QDebug>
34 #include <QMessageBox>
36 namespace Ui {
37 class MainWindow;
40 class MainWindow : public QMainWindow {
41 Q_OBJECT
42 public:
43 MainWindow(QWidget *parent = 0);
44 ~MainWindow();
46 protected:
47 void changeEvent(QEvent *e);
49 private:
50 Ui::MainWindow *ui;
51 QString wpath;
52 QStringList license;
54 private slots:
55 void on_goBT_clicked();
56 void on_cpathBT_clicked();
59 #endif // MAINWINDOW_H