diff options
Diffstat (limited to 'examples/dbus/remotecontrolledcar/controller/controller.h')
-rw-r--r-- | examples/dbus/remotecontrolledcar/controller/controller.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/examples/dbus/remotecontrolledcar/controller/controller.h b/examples/dbus/remotecontrolledcar/controller/controller.h index 4fd1833330..8df4ed2d1e 100644 --- a/examples/dbus/remotecontrolledcar/controller/controller.h +++ b/examples/dbus/remotecontrolledcar/controller/controller.h @@ -4,7 +4,10 @@ #ifndef CONTROLLER_H #define CONTROLLER_H -#include "ui_controller.h" +#include <QWidget> +#include <QPushButton> +#include <QLabel> + #include "car_interface.h" class Controller : public QWidget @@ -18,8 +21,13 @@ protected: void timerEvent(QTimerEvent *event) override; private: - Ui::Controller ui; org::example::Examples::CarInterface *car; + QPushButton *accelerate; + QPushButton *decelerate; + QPushButton *left; + QPushButton *right; + QLabel *statusSymbol; + QLabel *status; }; #endif |