-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython_widget.hpp
More file actions
executable file
·53 lines (32 loc) · 832 Bytes
/
Copy pathpython_widget.hpp
File metadata and controls
executable file
·53 lines (32 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef python_widget_hpp
#define python_widget_hpp
#include <QTabWidget>
#include <QCloseEvent>
#include "core.hpp"
#include "process_view.hpp"
#include "general_view.hpp"
#include "hidden_var_view.hpp"
#include "helper_widget.hpp"
class PythonWidget: public QWidget{
Q_OBJECT
public:
// Default constructor
PythonWidget(QWidget *parent = nullptr);
signals:
void createView(int id);
private slots:
void closeWindow();
void infoClicked();
private:
GeneralViewPy *general;
HiddenVarView *hiddenVar;
LogView *log;
QTabWidget *tabView;
UserData data;
CorePy *core;
ProcessView *proView;
QPushButton *switchButton;
QToolButton *infoButton;
void closeEvent(QCloseEvent *event);
};
#endif