From 2ce2f6376152402c3fc0d750720770b963a7d3cf Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Wed, 17 May 2017 01:13:47 +0930 Subject: Major update, UI redesigned to fit a smaller footprint using tabs and an irc bot has been introduced in the IRC tab to allow control of my leds from literally anywhere. --- qt/RGBController/controllerwindow.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'qt/RGBController/controllerwindow.h') diff --git a/qt/RGBController/controllerwindow.h b/qt/RGBController/controllerwindow.h index 1fed07e..a9196d2 100755 --- a/qt/RGBController/controllerwindow.h +++ b/qt/RGBController/controllerwindow.h @@ -14,6 +14,7 @@ #include #include #include "ui_controllerwindow.h" +#include "irc.h" namespace Ui { class controllerWindow; @@ -59,7 +60,8 @@ class controllerWindow : public QMainWindow QTimer *ptimer; bool tping; int pingtries; - + public slots: + void cmdrecv(QString cmd); private slots: /* these slots are used to trigger button clicks and drop down items selections etc */ void on_connect_button_clicked(); @@ -122,8 +124,12 @@ class controllerWindow : public QMainWindow void ping(); void check_ping(); + void on_irc_connect_button_clicked(); + private: Ui::controllerWindow *ui; + bool irccon; + irc ircbot; }; #endif // CONTROLLERWINDOW_H -- cgit v1.2.3