dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
importsummary.h
Go to the documentation of this file.
1 
12 /*
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.
17  *
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.
22  *
23  * You should have received a copy of the GNU General Public License along
24  * with this program; if not, see <http://www.gnu.org/licenses/>
25  */
26 #ifndef IMPORTSUMMARY_H
27 #define IMPORTSUMMARY_H
28 
29 #include <QDialog>
30 #include <QCheckBox>
31 #include <QDesktopServices>
32 #include <QUrl>
33 #include "ui_importsummarydialog.h"
38 
39 namespace Ui {
41 }
42 
43 class ImportSummaryDialog : public QDialog
44 {
45  Q_OBJECT
46 
47 public:
48  ImportSummaryDialog(QWidget *parent = nullptr, bool quiet = false);
50  void addLine(QString objectName, QString text, bool status);
52  int numLines() const;
53 
54 protected:
55  void showEvent(QShowEvent *event);
56  void changeEvent(QEvent *e);
57 
58 private:
59  Ui::ImportSummaryDialog *ui;
60  UAVObjectManager *importedObjects;
61  bool quiet;
62 
63 public slots:
64  void updateCompletion();
65 
66 private slots:
67  void doTheApplySaving();
68  void setCheckedState(int state);
69  void openHelp();
70 };
71 
72 #endif // IMPORTSUMMARY_H
ImportSummaryDialog(QWidget *parent=nullptr, bool quiet=false)
void setUAVOSettings(UAVObjectManager *obj)
void changeEvent(QEvent *e)
void showEvent(QShowEvent *event)
void addLine(QString objectName, QString text, bool status)
e
Definition: OPPlots.m:99