-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCentralView.h
More file actions
42 lines (32 loc) · 716 Bytes
/
CentralView.h
File metadata and controls
42 lines (32 loc) · 716 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
#ifndef CENTRALVIEW_H
#define CENTRALVIEW_H
#include <QWidget>
namespace Ui {
class CentralView;
}
class BrowserView;
class OpcUaView;
class SettingsView;
class CentralView : public QWidget
{
Q_OBJECT
public:
typedef enum _EView
{
EView_none = 0,
EView_OpcUa,
EView_DatabaseBrowser,
EView_Settings,
/*...*/
EView_Size
} EView;
explicit CentralView(BrowserView* browserView,
OpcUaView* opcuaView,
SettingsView* settingsView,
QWidget *parent = nullptr);
~CentralView();
void setView(EView view);
private:
Ui::CentralView *ui;
};
#endif // CENTRALVIEW_H