31 lines
504 B
C++
31 lines
504 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
class Hallsensor;
|
|
class Sensor;
|
|
class Schuifdeur;
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
void paintEvent(QPaintEvent *event);
|
|
~MainWindow();
|
|
private slots:
|
|
void on_schuifdeurSensorKnop_clicked();
|
|
void on_vd_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
Sensor *s1;
|
|
Schuifdeur *vd;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|