Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / uavsettingsimportexport / importsummary.h
blob5aa3f6fce97a128c7d2ebc53827069d08c30c979
1 /**
2 ******************************************************************************
4 * @file importsummary.h
5 * @author (C) 2011 The OpenPilot Team, http://www.openpilot.org
6 * @addtogroup GCSPlugins GCS Plugins
7 * @{
8 * @addtogroup UAVSettingsImportExport UAVSettings Import/Export Plugin
9 * @{
10 * @brief UAVSettings Import/Export Plugin
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 IMPORTSUMMARY_H
28 #define IMPORTSUMMARY_H
30 #include "ui_importsummarydialog.h"
31 #include "uavdataobject.h"
32 #include "uavobjectmanager.h"
33 #include "extensionsystem/pluginmanager.h"
34 #include "uavobjectutil/uavobjectutilmanager.h"
36 #include <QDialog>
38 namespace Ui {
39 class ImportSummaryDialog;
42 class ImportSummaryDialog : public QDialog {
43 Q_OBJECT
45 public:
46 ImportSummaryDialog(QWidget *parent = 0);
47 ~ImportSummaryDialog();
48 void addLine(QString objectName, QString text, bool status);
50 protected:
51 void showEvent(QShowEvent *event);
52 void changeEvent(QEvent *e);
54 private:
55 Ui::ImportSummaryDialog *ui;
57 public slots:
58 void updateSaveCompletion();
60 private slots:
61 void doTheSaving();
62 void openHelp();
65 #endif // IMPORTSUMMARY_H