src/SimulatorWindow.h
branchv_0
changeset 2 a27850958a67
parent 1 9cd86b92aabb
child 3 42d64bd73232
--- a/src/SimulatorWindow.h	Thu Mar 14 00:23:34 2019 +0100
+++ b/src/SimulatorWindow.h	Thu Mar 14 16:11:08 2019 +0100
@@ -23,12 +23,18 @@
 #include <QtWidgets/QSlider>
 #include <QtWidgets/QPushButton>
 
+#include "MotionEvent.h"
+#include "ButtonEvent.h"
+
 class SimulatorWindow : public QMainWindow {
 	Q_OBJECT
 public:
 	SimulatorWindow();
 	SimulatorWindow(const SimulatorWindow& orig);
 	virtual ~SimulatorWindow();
+signals:
+	void motionEvent(const MotionEvent e);
+	void buttonEvent(const ButtonEvent e);
 private:
 	std::vector<QCheckBox*> buttons;
 	std::vector<QSlider*> motions;
@@ -38,4 +44,5 @@
 
 private slots:
 	void centerAll();
+	void sendMotionEvent();
 };