aboutsummaryrefslogtreecommitdiff
path: root/confui/mainwindow.h
blob: d689f2e1c5ba6d4f8b5332fd05d20223ddf1d640 (plain)
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
#pragma once

#include <QMainWindow>
#include <QtSerialPort/QSerialPort>

#include <QDebug>

#include "mesh_connector.h"

class CDAutomationsTabWidget;
class CDNodeOverviewTabWidget;

class CDMainWindow : public QMainWindow {
	Q_OBJECT
private:
	QMenuBar* menu_bar = nullptr;
	CDAutomationsTabWidget* automations_widget = nullptr;
	CDNodeOverviewTabWidget* node_overview_widget = nullptr;

public:
	CDMeshConnector *mesh_connector = nullptr;
	
	CDMainWindow(QWidget *parent = nullptr);
	~CDMainWindow();
	virtual void update();
	virtual void menu_refresh();
	virtual void menu_add_automation();
};