FSM Library - C++ version
OpenFileWindow.h
1 /*
2  * Copyright. GaĆ«l Dottel, Christoph Hilken, and Jan Peleska 2016 - 2021
3  *
4  * Licensed under the EUPL V.1.1
5  */
6 #ifndef FSM_WINDOW_OPENFILEWINDOW_H_
7 #define FSM_WINDOW_OPENFILEWINDOW_H_
8 
9 #include <memory>
10 #include <iostream>
11 
12 #include <qfiledialog.h>
13 #include <qformlayout.h>
14 #include <qlabel.h>
15 #include <qlineedit.h>
16 #include <qmessagebox.h>
17 #include <qpushbutton.h>
18 #include <qspinbox.h>
19 #include <qwidget.h>
20 
21 class OpenFileWindow : public QWidget
22 {
23  Q_OBJECT
24 private:
28  QString fileName;
29 
33  QFormLayout layout;
34 
38  QLabel fName;
39 
43  QLineEdit name;
44 
48  //QSpinBox nodes;
49 
53  //QSpinBox input;
54 
58  //QSpinBox output;
59 
63  QPushButton submit;
64 public:
69 
74  QPushButton * getButton();
75 
80  std::string getFileName();
81 
86  std::string getName();
87 
92  //int getMaxNodes();
93 
98  //int getMaxInput();
99 
104  //int getMaxOutput();
105 };
106 #endif //FSM_WINDOW_OPENFILEWINDOW_H_
Definition: OpenFileWindow.h:21
std::string getName()
Definition: OpenFileWindow.cpp:33
OpenFileWindow()
Definition: OpenFileWindow.cpp:8
QPushButton * getButton()
Definition: OpenFileWindow.cpp:23
std::string getFileName()
Definition: OpenFileWindow.cpp:28