dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
importexportgadgetwidget.h
Go to the documentation of this file.
1 
11 #ifndef IMPORTEXPORTGADGETWIDGET_H
12 #define IMPORTEXPORTGADGETWIDGET_H
13 
14 #include <QWidget>
15 #include <QString>
16 #include "importexport_global.h"
18 
19 namespace Ui {
21 }
22 
23 class IMPORTEXPORT_EXPORT ImportExportGadgetWidget : public QWidget
24 {
25  Q_OBJECT
26 public:
27  ImportExportGadgetWidget(QWidget *parent = nullptr);
29 
30 signals:
31  void done();
32 
33 protected:
34  void changeEvent(QEvent *e);
35 
36 private:
37  Ui::ImportExportGadgetWidget *ui;
38  void writeError(const QString &) const;
39  void exportConfiguration(const QString &fileName);
40  void importConfiguration(const QString &fileName);
41  QList<Core::IConfigurablePlugin *> getConfigurables();
42 
43  QString filename;
44 
45 private slots:
46  void on_resetButton_clicked();
47  void on_helpButton_clicked();
48  void on_importButton_clicked();
49  void on_exportButton_clicked();
50 };
51 
52 #endif // IMPORTEXPORTGADGETWIDGET_H
53 
Definition: icore.h:39
e
Definition: OPPlots.m:99