Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
editcondition.h
1 #ifndef EDITCONDITION_H
2 #define EDITCONDITION_H
3 
11 #include <QDialog>
12 
13 #include "marlin/MarlinSteerCheck.h"
14 
15 class QVBoxLayout;
16 class QLineEdit;
17 class QMainWindow;
18 
19 using namespace marlin;
20 
21 class ECDialog : public QDialog
22 {
23  Q_OBJECT
24 
25 public:
26  ECDialog(const ECDialog&) = default ;
27  ECDialog& operator=(const ECDialog&) = default ;
28  ECDialog(MarlinSteerCheck* msc, const std::string& oldCond, QWidget *parent = 0, Qt::WFlags f = 0);
29 
30 signals:
31  void apply();
32 
33 private slots:
34  void editCondition();
35 
36 private:
37  //Variables
38  QMainWindow* _parent{};
39  QLineEdit *le{};
40  QVBoxLayout *mainLayout{};
41 
42  MarlinSteerCheck* _msc{};
43  std::string _oldCond{};
44 };
45 
46 #endif
this class is a Marlin Steering File consistency check Tool.
Definition: MarlinSteerCheck.h:72
Definition: editcondition.h:21