summaryrefslogtreecommitdiff
path: root/qt/RGBController
diff options
context:
space:
mode:
Diffstat (limited to 'qt/RGBController')
-rw-r--r--qt/RGBController/.controllerwindow.cpp.swnbin16384 -> 0 bytes
-rw-r--r--qt/RGBController/.qmake.stash29
-rw-r--r--qt/RGBController/Makefile35
-rwxr-xr-xqt/RGBController/RGBControllerbin143248 -> 143160 bytes
-rwxr-xr-xqt/RGBController/RGBController.pro.user2
-rwxr-xr-xqt/RGBController/controllerwindow.cpp4
-rw-r--r--qt/RGBController/controllerwindow.ui46
-rw-r--r--qt/RGBController/irc.cpp2
-rw-r--r--qt/RGBController/moc_controllerwindow.cpp275
-rw-r--r--qt/RGBController/moc_irc.cpp153
-rw-r--r--qt/RGBController/moc_predefs.h292
-rw-r--r--qt/RGBController/moc_server.cpp139
-rw-r--r--qt/RGBController/server.cpp1
-rw-r--r--qt/RGBController/ui_controllerwindow.h621
14 files changed, 1566 insertions, 33 deletions
diff --git a/qt/RGBController/.controllerwindow.cpp.swn b/qt/RGBController/.controllerwindow.cpp.swn
deleted file mode 100644
index bc195e4..0000000
--- a/qt/RGBController/.controllerwindow.cpp.swn
+++ /dev/null
Binary files differ
diff --git a/qt/RGBController/.qmake.stash b/qt/RGBController/.qmake.stash
index 39abb16..b8ee3b2 100644
--- a/qt/RGBController/.qmake.stash
+++ b/qt/RGBController/.qmake.stash
@@ -10,3 +10,32 @@ QMAKE_DEFAULT_LIBDIRS = \
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1 \
/usr/lib \
/lib
+QMAKE_CXX.INCDIRS = \
+ /usr/include/c++/6.3.1 \
+ /usr/include/c++/6.3.1/x86_64-pc-linux-gnu \
+ /usr/include/c++/6.3.1/backward \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include \
+ /usr/local/include \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed \
+ /usr/include \
+ /usr/include/c++/7.1.1 \
+ /usr/include/c++/7.1.1/x86_64-pc-linux-gnu \
+ /usr/include/c++/7.1.1/backward \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include \
+ /usr/local/include \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed \
+ /usr/include
+QMAKE_CXX.LIBDIRS = \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1 \
+ /usr/lib \
+ /lib \
+ /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1
+QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
+QMAKE_CXX.QT_GCC_MAJOR_VERSION = 7
+QMAKE_CXX.QT_GCC_MINOR_VERSION = 1
+QMAKE_CXX.QT_GCC_PATCH_VERSION = 1
+QMAKE_CXX.COMPILER_MACROS = \
+ QT_COMPILER_STDCXX \
+ QT_GCC_MAJOR_VERSION \
+ QT_GCC_MINOR_VERSION \
+ QT_GCC_PATCH_VERSION
diff --git a/qt/RGBController/Makefile b/qt/RGBController/Makefile
index 4f437ac..e2872fb 100644
--- a/qt/RGBController/Makefile
+++ b/qt/RGBController/Makefile
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: RGBController
-# Generated by qmake (3.1) (Qt 5.8.0)
+# Generated by qmake (3.1) (Qt 5.9.0)
# Project: RGBController.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile RGBController.pro
@@ -26,6 +26,9 @@ COPY_DIR = cp -f -R
INSTALL_FILE = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
INSTALL_DIR = cp -f -R
+QINSTALL_FILE = /usr/bin/qmake -install qinstall file
+QINSTALL_PROGRAM = /usr/bin/qmake -install qinstall program
+QINSTALL_DIR = /usr/bin/qmake -install qinstall directory
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
@@ -110,6 +113,8 @@ DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \
/usr/lib/qt/mkspecs/modules/qt_KWidgetsAddons.pri \
/usr/lib/qt/mkspecs/modules/qt_KWindowSystem.pri \
/usr/lib/qt/mkspecs/modules/qt_KXmlGui.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3danimation.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3danimation_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dextras.pri \
@@ -120,12 +125,16 @@ DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \
/usr/lib/qt/mkspecs/modules/qt_lib_3dlogic_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3drender.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3drender_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_accessibility_support_private.pri \
@@ -134,7 +143,6 @@ DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \
/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_charts.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_charts_private.pri \
- /usr/lib/qt/mkspecs/modules/qt_lib_clucene_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_core.pri \
@@ -163,6 +171,7 @@ DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \
/usr/lib/qt/mkspecs/modules/qt_lib_help.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_help_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_input_support_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_kms_support_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_location.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_location_private.pri \
@@ -350,6 +359,8 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_KWidgetsAddons.pri \
/usr/lib/qt/mkspecs/modules/qt_KWindowSystem.pri \
/usr/lib/qt/mkspecs/modules/qt_KXmlGui.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3danimation.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3danimation_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dextras.pri \
@@ -360,12 +371,16 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_3dlogic_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3drender.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_3drender_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_accessibility_support_private.pri \
@@ -374,7 +389,6 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_charts.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_charts_private.pri \
- /usr/lib/qt/mkspecs/modules/qt_lib_clucene_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_core.pri \
@@ -403,6 +417,7 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_help.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_help_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_input_support_private.pri \
+ /usr/lib/qt/mkspecs/modules/qt_lib_kms_support_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_location.pri \
/usr/lib/qt/mkspecs/modules/qt_lib_location_private.pri \
@@ -580,6 +595,8 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_KWidgetsAddons.pri:
/usr/lib/qt/mkspecs/modules/qt_KWindowSystem.pri:
/usr/lib/qt/mkspecs/modules/qt_KXmlGui.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3danimation.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3danimation_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dcore_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dextras.pri:
@@ -590,12 +607,16 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_3dlogic_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquick_private.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3dquickanimation_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickextras_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickinput_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3dquickrender_private.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_3dquickscene2d_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3drender.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_3drender_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_accessibility_support_private.pri:
@@ -604,7 +625,6 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_charts.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_charts_private.pri:
-/usr/lib/qt/mkspecs/modules/qt_lib_clucene_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_concurrent_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_core.pri:
@@ -633,6 +653,7 @@ Makefile: RGBController.pro /usr/lib/qt/mkspecs/linux-g++/qmake.conf /usr/lib/qt
/usr/lib/qt/mkspecs/modules/qt_lib_help.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_help_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_input_support_private.pri:
+/usr/lib/qt/mkspecs/modules/qt_lib_kms_support_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_location.pri:
/usr/lib/qt/mkspecs/modules/qt_lib_location_private.pri:
@@ -818,17 +839,17 @@ moc_controllerwindow.cpp: ui_controllerwindow.h \
controllerwindow.h \
moc_predefs.h \
/usr/bin/moc
- /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include controllerwindow.h -o moc_controllerwindow.cpp
+ /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include -I/usr/include/c++/7.1.1 -I/usr/include/c++/7.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/7.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed -I/usr/include controllerwindow.h -o moc_controllerwindow.cpp
moc_irc.cpp: irc.h \
moc_predefs.h \
/usr/bin/moc
- /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include irc.h -o moc_irc.cpp
+ /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include -I/usr/include/c++/7.1.1 -I/usr/include/c++/7.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/7.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed -I/usr/include irc.h -o moc_irc.cpp
moc_server.cpp: server.h \
moc_predefs.h \
/usr/bin/moc
- /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include server.h -o moc_server.cpp
+ /usr/bin/moc $(DEFINES) --include ./moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I'/home/daniel_j/documents/school/2016 research project/RGBController/qt/RGBController' -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include -I/usr/include/c++/7.1.1 -I/usr/include/c++/7.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/7.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include-fixed -I/usr/include server.h -o moc_server.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
diff --git a/qt/RGBController/RGBController b/qt/RGBController/RGBController
index a6cfd3f..8e11540 100755
--- a/qt/RGBController/RGBController
+++ b/qt/RGBController/RGBController
Binary files differ
diff --git a/qt/RGBController/RGBController.pro.user b/qt/RGBController/RGBController.pro.user
index 78aa01e..92eee62 100755
--- a/qt/RGBController/RGBController.pro.user
+++ b/qt/RGBController/RGBController.pro.user
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 4.2.2, 2017-05-15T22:54:21. -->
+<!-- Written by QtCreator 4.2.2, 2017-06-07T20:06:36. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
diff --git a/qt/RGBController/controllerwindow.cpp b/qt/RGBController/controllerwindow.cpp
index dd21ece..0709dae 100755
--- a/qt/RGBController/controllerwindow.cpp
+++ b/qt/RGBController/controllerwindow.cpp
@@ -563,7 +563,6 @@ bool controllerWindow::serial_disconnect()
void controllerWindow::send(QString com)
{
data = "";
- qDebug() << "sending" << com;
data.append(com + "\n");
if (ser->isOpen())
ser->write(data);
@@ -697,7 +696,6 @@ void controllerWindow::on_server_start_button_clicked()
void controllerWindow::cmdrecv(QString cmd)
{
- qDebug() << "got cmd" << cmd;
+ qDebug() << "received command:" << cmd;
send(cmd);
-
}
diff --git a/qt/RGBController/controllerwindow.ui b/qt/RGBController/controllerwindow.ui
index 0a10269..d40ccba 100644
--- a/qt/RGBController/controllerwindow.ui
+++ b/qt/RGBController/controllerwindow.ui
@@ -3,14 +3,14 @@
<class>controllerWindow</class>
<widget class="QMainWindow" name="controllerWindow">
<property name="windowModality">
- <enum>Qt::WindowModal</enum>
+ <enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>433</width>
- <height>254</height>
+ <width>449</width>
+ <height>298</height>
</rect>
</property>
<property name="windowTitle">
@@ -21,7 +21,7 @@
<item row="7" column="1">
<widget class="QTabWidget" name="display_tab">
<property name="currentIndex">
- <number>5</number>
+ <number>4</number>
</property>
<widget class="QWidget" name="status_tab">
<attribute name="title">
@@ -542,22 +542,6 @@
</property>
</widget>
</item>
- <item row="5" column="1">
- <widget class="QSpinBox" name="irc_bot_spinbox">
- <property name="maximumSize">
- <size>
- <width>50</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="maximum">
- <number>99999</number>
- </property>
- <property name="value">
- <number>6667</number>
- </property>
- </widget>
- </item>
<item row="6" column="0">
<widget class="QLabel" name="irc_channel_label">
<property name="text">
@@ -600,6 +584,28 @@
</property>
</widget>
</item>
+ <item row="5" column="1">
+ <widget class="QSpinBox" name="irc_bot_spinbox">
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>99999</number>
+ </property>
+ <property name="value">
+ <number>6667</number>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="server_tab">
diff --git a/qt/RGBController/irc.cpp b/qt/RGBController/irc.cpp
index 3a2ac14..d87f0be 100644
--- a/qt/RGBController/irc.cpp
+++ b/qt/RGBController/irc.cpp
@@ -50,7 +50,7 @@ void irc::con()
socket->write(buf.toUtf8());
buf = "USER " + name + " 8 * :" + name + "\r\n";
socket->write(buf.toUtf8());
- pingcheck->start(60000);
+ pingcheck->start(300000);
}
void irc::discon()
diff --git a/qt/RGBController/moc_controllerwindow.cpp b/qt/RGBController/moc_controllerwindow.cpp
new file mode 100644
index 0000000..686a81d
--- /dev/null
+++ b/qt/RGBController/moc_controllerwindow.cpp
@@ -0,0 +1,275 @@
+/****************************************************************************
+** Meta object code from reading C++ file 'controllerwindow.h'
+**
+** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#include "controllerwindow.h"
+#include <QtCore/qbytearray.h>
+#include <QtCore/qmetatype.h>
+#if !defined(Q_MOC_OUTPUT_REVISION)
+#error "The header file 'controllerwindow.h' doesn't include <QObject>."
+#elif Q_MOC_OUTPUT_REVISION != 67
+#error "This file was generated using the moc from 5.9.0. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+QT_BEGIN_MOC_NAMESPACE
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_DEPRECATED
+struct qt_meta_stringdata_controllerWindow_t {
+ QByteArrayData data[40];
+ char stringdata0[896];
+};
+#define QT_MOC_LITERAL(idx, ofs, len) \
+ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
+ qptrdiff(offsetof(qt_meta_stringdata_controllerWindow_t, stringdata0) + ofs \
+ - idx * sizeof(QByteArrayData)) \
+ )
+static const qt_meta_stringdata_controllerWindow_t qt_meta_stringdata_controllerWindow = {
+ {
+QT_MOC_LITERAL(0, 0, 16), // "controllerWindow"
+QT_MOC_LITERAL(1, 17, 7), // "cmdrecv"
+QT_MOC_LITERAL(2, 25, 0), // ""
+QT_MOC_LITERAL(3, 26, 3), // "cmd"
+QT_MOC_LITERAL(4, 30, 25), // "on_connect_button_clicked"
+QT_MOC_LITERAL(5, 56, 28), // "on_disconnect_button_clicked"
+QT_MOC_LITERAL(6, 85, 30), // "on_refresh_port_button_clicked"
+QT_MOC_LITERAL(7, 116, 31), // "on_reload_preset_button_clicked"
+QT_MOC_LITERAL(8, 148, 24), // "on_r_slider_valueChanged"
+QT_MOC_LITERAL(9, 173, 5), // "value"
+QT_MOC_LITERAL(10, 179, 24), // "on_g_slider_valueChanged"
+QT_MOC_LITERAL(11, 204, 24), // "on_b_slider_valueChanged"
+QT_MOC_LITERAL(12, 229, 21), // "on_red_button_clicked"
+QT_MOC_LITERAL(13, 251, 23), // "on_green_button_clicked"
+QT_MOC_LITERAL(14, 275, 22), // "on_blue_button_clicked"
+QT_MOC_LITERAL(15, 298, 21), // "on_off_button_clicked"
+QT_MOC_LITERAL(16, 320, 28), // "on_set_preset_button_clicked"
+QT_MOC_LITERAL(17, 349, 39), // "on_presets_dropdown_currentIn..."
+QT_MOC_LITERAL(18, 389, 5), // "index"
+QT_MOC_LITERAL(19, 395, 29), // "on_preset_save_button_clicked"
+QT_MOC_LITERAL(20, 425, 31), // "on_preset_delete_button_clicked"
+QT_MOC_LITERAL(21, 457, 26), // "on_red_fade_button_clicked"
+QT_MOC_LITERAL(22, 484, 28), // "on_green_fade_button_clicked"
+QT_MOC_LITERAL(23, 513, 27), // "on_blue_fade_button_clicked"
+QT_MOC_LITERAL(24, 541, 23), // "on_speed_button_clicked"
+QT_MOC_LITERAL(25, 565, 30), // "on_r_speed_slider_valueChanged"
+QT_MOC_LITERAL(26, 596, 30), // "on_g_speed_slider_valueChanged"
+QT_MOC_LITERAL(27, 627, 30), // "on_b_speed_slider_valueChanged"
+QT_MOC_LITERAL(28, 658, 21), // "on_rfrom_valueChanged"
+QT_MOC_LITERAL(29, 680, 4), // "arg1"
+QT_MOC_LITERAL(30, 685, 19), // "on_rto_valueChanged"
+QT_MOC_LITERAL(31, 705, 21), // "on_gfrom_valueChanged"
+QT_MOC_LITERAL(32, 727, 19), // "on_gto_valueChanged"
+QT_MOC_LITERAL(33, 747, 21), // "on_bfrom_valueChanged"
+QT_MOC_LITERAL(34, 769, 19), // "on_bto_valueChanged"
+QT_MOC_LITERAL(35, 789, 29), // "on_serial_send_button_clicked"
+QT_MOC_LITERAL(36, 819, 4), // "ping"
+QT_MOC_LITERAL(37, 824, 10), // "check_ping"
+QT_MOC_LITERAL(38, 835, 29), // "on_irc_connect_button_clicked"
+QT_MOC_LITERAL(39, 865, 30) // "on_server_start_button_clicked"
+
+ },
+ "controllerWindow\0cmdrecv\0\0cmd\0"
+ "on_connect_button_clicked\0"
+ "on_disconnect_button_clicked\0"
+ "on_refresh_port_button_clicked\0"
+ "on_reload_preset_button_clicked\0"
+ "on_r_slider_valueChanged\0value\0"
+ "on_g_slider_valueChanged\0"
+ "on_b_slider_valueChanged\0on_red_button_clicked\0"
+ "on_green_button_clicked\0on_blue_button_clicked\0"
+ "on_off_button_clicked\0"
+ "on_set_preset_button_clicked\0"
+ "on_presets_dropdown_currentIndexChanged\0"
+ "index\0on_preset_save_button_clicked\0"
+ "on_preset_delete_button_clicked\0"
+ "on_red_fade_button_clicked\0"
+ "on_green_fade_button_clicked\0"
+ "on_blue_fade_button_clicked\0"
+ "on_speed_button_clicked\0"
+ "on_r_speed_slider_valueChanged\0"
+ "on_g_speed_slider_valueChanged\0"
+ "on_b_speed_slider_valueChanged\0"
+ "on_rfrom_valueChanged\0arg1\0"
+ "on_rto_valueChanged\0on_gfrom_valueChanged\0"
+ "on_gto_valueChanged\0on_bfrom_valueChanged\0"
+ "on_bto_valueChanged\0on_serial_send_button_clicked\0"
+ "ping\0check_ping\0on_irc_connect_button_clicked\0"
+ "on_server_start_button_clicked"
+};
+#undef QT_MOC_LITERAL
+
+static const uint qt_meta_data_controllerWindow[] = {
+
+ // content:
+ 7, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 34, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
+ 0, // flags
+ 0, // signalCount
+
+ // slots: name, argc, parameters, tag, flags
+ 1, 1, 184, 2, 0x0a /* Public */,
+ 4, 0, 187, 2, 0x08 /* Private */,
+ 5, 0, 188, 2, 0x08 /* Private */,
+ 6, 0, 189, 2, 0x08 /* Private */,
+ 7, 0, 190, 2, 0x08 /* Private */,
+ 8, 1, 191, 2, 0x08 /* Private */,
+ 10, 1, 194, 2, 0x08 /* Private */,
+ 11, 1, 197, 2, 0x08 /* Private */,
+ 12, 0, 200, 2, 0x08 /* Private */,
+ 13, 0, 201, 2, 0x08 /* Private */,
+ 14, 0, 202, 2, 0x08 /* Private */,
+ 15, 0, 203, 2, 0x08 /* Private */,
+ 16, 0, 204, 2, 0x08 /* Private */,
+ 17, 1, 205, 2, 0x08 /* Private */,
+ 19, 0, 208, 2, 0x08 /* Private */,
+ 20, 0, 209, 2, 0x08 /* Private */,
+ 21, 0, 210, 2, 0x08 /* Private */,
+ 22, 0, 211, 2, 0x08 /* Private */,
+ 23, 0, 212, 2, 0x08 /* Private */,
+ 24, 0, 213, 2, 0x08 /* Private */,
+ 25, 1, 214, 2, 0x08 /* Private */,
+ 26, 1, 217, 2, 0x08 /* Private */,
+ 27, 1, 220, 2, 0x08 /* Private */,
+ 28, 1, 223, 2, 0x08 /* Private */,
+ 30, 1, 226, 2, 0x08 /* Private */,
+ 31, 1, 229, 2, 0x08 /* Private */,
+ 32, 1, 232, 2, 0x08 /* Private */,
+ 33, 1, 235, 2, 0x08 /* Private */,
+ 34, 1, 238, 2, 0x08 /* Private */,
+ 35, 0, 241, 2, 0x08 /* Private */,
+ 36, 0, 242, 2, 0x08 /* Private */,
+ 37, 0, 243, 2, 0x08 /* Private */,
+ 38, 0, 244, 2, 0x08 /* Private */,
+ 39, 0, 245, 2, 0x08 /* Private */,
+
+ // slots: parameters
+ QMetaType::Void, QMetaType::QString, 3,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void, QMetaType::Int, 18,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void, QMetaType::Int, 9,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void, QMetaType::Int, 29,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void,
+
+ 0 // eod
+};
+
+void controllerWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
+{
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ controllerWindow *_t = static_cast<controllerWindow *>(_o);
+ Q_UNUSED(_t)
+ switch (_id) {
+ case 0: _t->cmdrecv((*reinterpret_cast< QString(*)>(_a[1]))); break;
+ case 1: _t->on_connect_button_clicked(); break;
+ case 2: _t->on_disconnect_button_clicked(); break;
+ case 3: _t->on_refresh_port_button_clicked(); break;
+ case 4: _t->on_reload_preset_button_clicked(); break;
+ case 5: _t->on_r_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 6: _t->on_g_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 7: _t->on_b_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 8: _t->on_red_button_clicked(); break;
+ case 9: _t->on_green_button_clicked(); break;
+ case 10: _t->on_blue_button_clicked(); break;
+ case 11: _t->on_off_button_clicked(); break;
+ case 12: _t->on_set_preset_button_clicked(); break;
+ case 13: _t->on_presets_dropdown_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 14: _t->on_preset_save_button_clicked(); break;
+ case 15: _t->on_preset_delete_button_clicked(); break;
+ case 16: _t->on_red_fade_button_clicked(); break;
+ case 17: _t->on_green_fade_button_clicked(); break;
+ case 18: _t->on_blue_fade_button_clicked(); break;
+ case 19: _t->on_speed_button_clicked(); break;
+ case 20: _t->on_r_speed_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 21: _t->on_g_speed_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 22: _t->on_b_speed_slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 23: _t->on_rfrom_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 24: _t->on_rto_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 25: _t->on_gfrom_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 26: _t->on_gto_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 27: _t->on_bfrom_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 28: _t->on_bto_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
+ case 29: _t->on_serial_send_button_clicked(); break;
+ case 30: _t->ping(); break;
+ case 31: _t->check_ping(); break;
+ case 32: _t->on_irc_connect_button_clicked(); break;
+ case 33: _t->on_server_start_button_clicked(); break;
+ default: ;
+ }
+ }
+}
+
+const QMetaObject controllerWindow::staticMetaObject = {
+ { &QMainWindow::staticMetaObject, qt_meta_stringdata_controllerWindow.data,
+ qt_meta_data_controllerWindow, qt_static_metacall, nullptr, nullptr}
+};
+
+
+const QMetaObject *controllerWindow::metaObject() const
+{
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
+}
+
+void *controllerWindow::qt_metacast(const char *_clname)
+{
+ if (!_clname) return nullptr;
+ if (!strcmp(_clname, qt_meta_stringdata_controllerWindow.stringdata0))
+ return static_cast<void*>(const_cast< controllerWindow*>(this));
+ return QMainWindow::qt_metacast(_clname);
+}
+
+int controllerWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
+{
+ _id = QMainWindow::qt_metacall(_c, _id, _a);
+ if (_id < 0)
+ return _id;
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ if (_id < 34)
+ qt_static_metacall(this, _c, _id, _a);
+ _id -= 34;
+ } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
+ if (_id < 34)
+ *reinterpret_cast<int*>(_a[0]) = -1;
+ _id -= 34;
+ }
+ return _id;
+}
+QT_WARNING_POP
+QT_END_MOC_NAMESPACE
diff --git a/qt/RGBController/moc_irc.cpp b/qt/RGBController/moc_irc.cpp
new file mode 100644
index 0000000..da8872c
--- /dev/null
+++ b/qt/RGBController/moc_irc.cpp
@@ -0,0 +1,153 @@
+/****************************************************************************
+** Meta object code from reading C++ file 'irc.h'
+**
+** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#include "irc.h"
+#include <QtCore/qbytearray.h>
+#include <QtCore/qmetatype.h>
+#if !defined(Q_MOC_OUTPUT_REVISION)
+#error "The header file 'irc.h' doesn't include <QObject>."
+#elif Q_MOC_OUTPUT_REVISION != 67
+#error "This file was generated using the moc from 5.9.0. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+QT_BEGIN_MOC_NAMESPACE
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_DEPRECATED
+struct qt_meta_stringdata_irc_t {
+ QByteArrayData data[9];
+ char stringdata0[51];
+};
+#define QT_MOC_LITERAL(idx, ofs, len) \
+ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
+ qptrdiff(offsetof(qt_meta_stringdata_irc_t, stringdata0) + ofs \
+ - idx * sizeof(QByteArrayData)) \
+ )
+static const qt_meta_stringdata_irc_t qt_meta_stringdata_irc = {
+ {
+QT_MOC_LITERAL(0, 0, 3), // "irc"
+QT_MOC_LITERAL(1, 4, 7), // "sendcmd"
+QT_MOC_LITERAL(2, 12, 0), // ""
+QT_MOC_LITERAL(3, 13, 3), // "cmd"
+QT_MOC_LITERAL(4, 17, 4), // "read"
+QT_MOC_LITERAL(5, 22, 3), // "con"
+QT_MOC_LITERAL(6, 26, 6), // "handle"
+QT_MOC_LITERAL(7, 33, 3), // "str"
+QT_MOC_LITERAL(8, 37, 13) // "pingcheckfunc"
+
+ },
+ "irc\0sendcmd\0\0cmd\0read\0con\0handle\0str\0"
+ "pingcheckfunc"
+};
+#undef QT_MOC_LITERAL
+
+static const uint qt_meta_data_irc[] = {
+
+ // content:
+ 7, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 5, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
+ 0, // flags
+ 1, // signalCount
+
+ // signals: name, argc, parameters, tag, flags
+ 1, 1, 39, 2, 0x06 /* Public */,
+
+ // slots: name, argc, parameters, tag, flags
+ 4, 0, 42, 2, 0x08 /* Private */,
+ 5, 0, 43, 2, 0x08 /* Private */,
+ 6, 1, 44, 2, 0x08 /* Private */,
+ 8, 0, 47, 2, 0x08 /* Private */,
+
+ // signals: parameters
+ QMetaType::Void, QMetaType::QString, 3,
+
+ // slots: parameters
+ QMetaType::Void,
+ QMetaType::Void,
+ QMetaType::Void, QMetaType::QString, 7,
+ QMetaType::Void,
+
+ 0 // eod
+};
+
+void irc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
+{
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ irc *_t = static_cast<irc *>(_o);
+ Q_UNUSED(_t)
+ switch (_id) {
+ case 0: _t->sendcmd((*reinterpret_cast< QString(*)>(_a[1]))); break;
+ case 1: _t->read(); break;
+ case 2: _t->con(); break;
+ case 3: _t->handle((*reinterpret_cast< QString(*)>(_a[1]))); break;
+ case 4: _t->pingcheckfunc(); break;
+ default: ;
+ }
+ } else if (_c == QMetaObject::IndexOfMethod) {
+ int *result = reinterpret_cast<int *>(_a[0]);
+ void **func = reinterpret_cast<void **>(_a[1]);
+ {
+ typedef void (irc::*_t)(QString );
+ if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&irc::sendcmd)) {
+ *result = 0;
+ return;
+ }
+ }
+ }
+}
+
+const QMetaObject irc::staticMetaObject = {
+ { &QObject::staticMetaObject, qt_meta_stringdata_irc.data,
+ qt_meta_data_irc, qt_static_metacall, nullptr, nullptr}
+};
+
+
+const QMetaObject *irc::metaObject() const
+{
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
+}
+
+void *irc::qt_metacast(const char *_clname)
+{
+ if (!_clname) return nullptr;
+ if (!strcmp(_clname, qt_meta_stringdata_irc.stringdata0))
+ return static_cast<void*>(const_cast< irc*>(this));
+ return QObject::qt_metacast(_clname);
+}
+
+int irc::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
+{
+ _id = QObject::qt_metacall(_c, _id, _a);
+ if (_id < 0)
+ return _id;
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ if (_id < 5)
+ qt_static_metacall(this, _c, _id, _a);
+ _id -= 5;
+ } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
+ if (_id < 5)
+ *reinterpret_cast<int*>(_a[0]) = -1;
+ _id -= 5;
+ }
+ return _id;
+}
+
+// SIGNAL 0
+void irc::sendcmd(QString _t1)
+{
+ void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
+ QMetaObject::activate(this, &staticMetaObject, 0, _a);
+}
+QT_WARNING_POP
+QT_END_MOC_NAMESPACE
diff --git a/qt/RGBController/moc_predefs.h b/qt/RGBController/moc_predefs.h
new file mode 100644
index 0000000..f7a843b
--- /dev/null
+++ b/qt/RGBController/moc_predefs.h
@@ -0,0 +1,292 @@
+#define __SSP_STRONG__ 3
+#define __DBL_MIN_EXP__ (-1021)
+#define __cpp_attributes 200809
+#define __UINT_LEAST16_MAX__ 0xffff
+#define __ATOMIC_ACQUIRE 2
+#define __FLT_MIN__ 1.17549435082228750797e-38F
+#define __GCC_IEC_559_COMPLEX 2
+#define __cpp_aggregate_nsdmi 201304
+#define __UINT_LEAST8_TYPE__ unsigned char
+#define __SIZEOF_FLOAT80__ 16
+#define __INTMAX_C(c) c ## L
+#define __CHAR_BIT__ 8
+#define __UINT8_MAX__ 0xff
+#define __WINT_MAX__ 0xffffffffU
+#define __cpp_static_assert 200410
+#define __ORDER_LITTLE_ENDIAN__ 1234
+#define __SIZE_MAX__ 0xffffffffffffffffUL
+#define __WCHAR_MAX__ 0x7fffffff
+#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
+#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
+#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
+#define __DBL_DENORM_MIN__ double(4.94065645841246544177e-324L)
+#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
+#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
+#define __GCC_IEC_559 2
+#define __FLT_EVAL_METHOD__ 0
+#define __unix__ 1
+#define __cpp_binary_literals 201304
+#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
+#define __x86_64 1
+#define __cpp_variadic_templates 200704
+#define __UINT_FAST64_MAX__ 0xffffffffffffffffUL
+#define __SIG_ATOMIC_TYPE__ int
+#define __DBL_MIN_10_EXP__ (-307)
+#define __FINITE_MATH_ONLY__ 0
+#define __cpp_variable_templates 201304
+#define __GNUC_PATCHLEVEL__ 1
+#define __UINT_FAST8_MAX__ 0xff
+#define __has_include(STR) __has_include__(STR)
+#define __DEC64_MAX_EXP__ 385
+#define __INT8_C(c) c
+#define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL
+#define __SHRT_MAX__ 0x7fff
+#define __LDBL_MAX__ 1.18973149535723176502e+4932L
+#define __UINT_LEAST8_MAX__ 0xff
+#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
+#define __UINTMAX_TYPE__ long unsigned int
+#define __linux 1
+#define __DEC32_EPSILON__ 1E-6DF
+#define __OPTIMIZE__ 1
+#define __unix 1
+#define __UINT32_MAX__ 0xffffffffU
+#define __GXX_EXPERIMENTAL_CXX0X__ 1
+#define __LDBL_MAX_EXP__ 16384
+#define __WINT_MIN__ 0U
+#define __linux__ 1
+#define __SCHAR_MAX__ 0x7f
+#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
+#define __INT64_C(c) c ## L
+#define __DBL_DIG__ 15
+#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
+#define __SIZEOF_INT__ 4
+#define __SIZEOF_POINTER__ 8
+#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
+#define __USER_LABEL_PREFIX__
+#define __STDC_HOSTED__ 1
+#define __LDBL_HAS_INFINITY__ 1
+#define __FLT_EPSILON__ 1.19209289550781250000e-7F
+#define __GXX_WEAK__ 1
+#define __LDBL_MIN__ 3.36210314311209350626e-4932L
+#define __DEC32_MAX__ 9.999999E96DF
+#define __INT32_MAX__ 0x7fffffff
+#define __SIZEOF_LONG__ 8
+#define __STDC_IEC_559__ 1
+#define __STDC_ISO_10646__ 201505L
+#define __UINT16_C(c) c
+#define __DECIMAL_DIG__ 21
+#define __gnu_linux__ 1
+#define __has_include_next(STR) __has_include_next__(STR)
+#define __LDBL_HAS_QUIET_NAN__ 1
+#define __GNUC__ 6
+#define __GXX_RTTI 1
+#define __MMX__ 1
+#define __cpp_delegating_constructors 200604
+#define __FLT_HAS_DENORM__ 1
+#define __SIZEOF_LONG_DOUBLE__ 16
+#define __BIGGEST_ALIGNMENT__ 16
+#define __STDC_UTF_16__ 1
+#define __DBL_MAX__ double(1.79769313486231570815e+308L)
+#define __cpp_raw_strings 200710
+#define __INT_FAST32_MAX__ 0x7fffffffffffffffL
+#define __DBL_HAS_INFINITY__ 1
+#define __INT64_MAX__ 0x7fffffffffffffffL
+#define __DEC32_MIN_EXP__ (-94)
+#define __INT_FAST16_TYPE__ long int
+#define __LDBL_HAS_DENORM__ 1
+#define __cplusplus 201402L
+#define __cpp_ref_qualifiers 200710
+#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
+#define __INT_LEAST32_MAX__ 0x7fffffff
+#define __DEC32_MIN__ 1E-95DF
+#define __DEPRECATED 1
+#define __cpp_rvalue_references 200610
+#define __DBL_MAX_EXP__ 1024
+#define __DEC128_EPSILON__ 1E-33DL
+#define __SSE2_MATH__ 1
+#define __ATOMIC_HLE_RELEASE 131072
+#define __PTRDIFF_MAX__ 0x7fffffffffffffffL
+#define __amd64 1
+#define __STDC_NO_THREADS__ 1
+#define __ATOMIC_HLE_ACQUIRE 65536
+#define __GNUG__ 6
+#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
+#define __SIZEOF_SIZE_T__ 8
+#define __cpp_rvalue_reference 200610
+#define __cpp_nsdmi 200809
+#define __SIZEOF_WINT_T__ 4
+#define __cpp_initializer_lists 200806
+#define __cpp_hex_float 201603
+#define __GCC_HAVE_DWARF2_CFI_ASM 1
+#define __GXX_ABI_VERSION 1010
+#define __FLT_MIN_EXP__ (-125)
+#define __cpp_lambdas 200907
+#define __INT_FAST64_TYPE__ long int
+#define __DBL_MIN__ double(2.22507385850720138309e-308L)
+#define __LP64__ 1
+#define __DECIMAL_BID_FORMAT__ 1
+#define __DEC128_MIN__ 1E-6143DL
+#define __REGISTER_PREFIX__
+#define __UINT16_MAX__ 0xffff
+#define __DBL_HAS_DENORM__ 1
+#define __UINT8_TYPE__ unsigned char
+#define __FLT_MANT_DIG__ 24
+#define __VERSION__ "6.3.1 20170306"
+#define __UINT64_C(c) c ## UL
+#define __cpp_unicode_characters 200704
+#define _STDC_PREDEF_H 1
+#define __cpp_decltype_auto 201304
+#define __GCC_ATOMIC_INT_LOCK_FREE 2
+#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
+#define __STDC_IEC_559_COMPLEX__ 1
+#define __INT32_C(c) c
+#define __DEC64_EPSILON__ 1E-15DD
+#define __ORDER_PDP_ENDIAN__ 3412
+#define __DEC128_MIN_EXP__ (-6142)
+#define __INT_FAST32_TYPE__ long int
+#define __UINT_LEAST16_TYPE__ short unsigned int
+#define unix 1
+#define __INT16_MAX__ 0x7fff
+#define __cpp_rtti 199711
+#define __SIZE_TYPE__ long unsigned int
+#define __UINT64_MAX__ 0xffffffffffffffffUL
+#define __INT8_TYPE__ signed char
+#define __cpp_digit_separators 201309
+#define __ELF__ 1
+#define __GCC_ASM_FLAG_OUTPUTS__ 1
+#define __FLT_RADIX__ 2
+#define __INT_LEAST16_TYPE__ short int
+#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
+#define __UINTMAX_C(c) c ## UL
+#define __GLIBCXX_BITSIZE_INT_N_0 128
+#define __k8 1
+#define __SIG_ATOMIC_MAX__ 0x7fffffff
+#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
+#define __cpp_sized_deallocation 201309
+#define __SIZEOF_PTRDIFF_T__ 8
+#define __x86_64__ 1
+#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
+#define __INT_FAST16_MAX__ 0x7fffffffffffffffL
+#define __UINT_FAST32_MAX__ 0xffffffffffffffffUL
+#define __UINT_LEAST64_TYPE__ long unsigned int
+#define __FLT_HAS_QUIET_NAN__ 1
+#define __FLT_MAX_10_EXP__ 38
+#define __LONG_MAX__ 0x7fffffffffffffffL
+#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
+#define __FLT_HAS_INFINITY__ 1
+#define __cpp_unicode_literals 200710
+#define __UINT_FAST16_TYPE__ long unsigned int
+#define __DEC64_MAX__ 9.999999999999999E384DD
+#define __CHAR16_TYPE__ short unsigned int
+#define __PRAGMA_REDEFINE_EXTNAME 1
+#define __SEG_FS 1
+#define __INT_LEAST16_MAX__ 0x7fff
+#define __DEC64_MANT_DIG__ 16
+#define __UINT_LEAST32_MAX__ 0xffffffffU
+#define __SEG_GS 1
+#define __GCC_ATOMIC_LONG_LOCK_FREE 2
+#define __INT_LEAST64_TYPE__ long int
+#define __INT16_TYPE__ short int
+#define __INT_LEAST8_TYPE__ signed char
+#define __DEC32_MAX_EXP__ 97
+#define __INT_FAST8_MAX__ 0x7f
+#define __INTPTR_MAX__ 0x7fffffffffffffffL
+#define linux 1
+#define __cpp_range_based_for 200907
+#define __SSE2__ 1
+#define __EXCEPTIONS 1
+#define __LDBL_MANT_DIG__ 64
+#define __DBL_HAS_QUIET_NAN__ 1
+#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
+#define __code_model_small__ 1
+#define __cpp_return_type_deduction 201304
+#define __k8__ 1
+#define __INTPTR_TYPE__ long int
+#define __UINT16_TYPE__ short unsigned int
+#define __WCHAR_TYPE__ int
+#define __SIZEOF_FLOAT__ 4
+#define __UINTPTR_MAX__ 0xffffffffffffffffUL
+#define __DEC64_MIN_EXP__ (-382)
+#define __cpp_decltype 200707
+#define __INT_FAST64_MAX__ 0x7fffffffffffffffL
+#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
+#define __FLT_DIG__ 6
+#define __UINT_FAST64_TYPE__ long unsigned int
+#define __INT_MAX__ 0x7fffffff
+#define __amd64__ 1
+#define __INT64_TYPE__ long int
+#define __FLT_MAX_EXP__ 128
+#define __ORDER_BIG_ENDIAN__ 4321
+#define __DBL_MANT_DIG__ 53
+#define __cpp_inheriting_constructors 200802
+#define __SIZEOF_FLOAT128__ 16
+#define __INT_LEAST64_MAX__ 0x7fffffffffffffffL
+#define __DEC64_MIN__ 1E-383DD
+#define __WINT_TYPE__ unsigned int
+#define __UINT_LEAST32_TYPE__ unsigned int
+#define __SIZEOF_SHORT__ 2
+#define __SSE__ 1
+#define __LDBL_MIN_EXP__ (-16381)
+#define __INT_LEAST8_MAX__ 0x7f
+#define __SIZEOF_INT128__ 16
+#define __LDBL_MAX_10_EXP__ 4932
+#define __ATOMIC_RELAXED 0
+#define __DBL_EPSILON__ double(2.22044604925031308085e-16L)
+#define _LP64 1
+#define __UINT8_C(c) c
+#define __INT_LEAST32_TYPE__ int
+#define __SIZEOF_WCHAR_T__ 4
+#define __UINT64_TYPE__ long unsigned int
+#define __INT_FAST8_TYPE__ signed char
+#define __GNUC_STDC_INLINE__ 1
+#define __DBL_DECIMAL_DIG__ 17
+#define __STDC_UTF_32__ 1
+#define __FXSR__ 1
+#define __DEC_EVAL_METHOD__ 2
+#define __cpp_runtime_arrays 198712
+#define __UINT32_C(c) c ## U
+#define __INTMAX_MAX__ 0x7fffffffffffffffL
+#define __cpp_alias_templates 200704
+#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
+#define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F
+#define __INT8_MAX__ 0x7f
+#define __UINT_FAST32_TYPE__ long unsigned int
+#define __CHAR32_TYPE__ unsigned int
+#define __FLT_MAX__ 3.40282346638528859812e+38F
+#define __cpp_constexpr 201304
+#define __INT32_TYPE__ int
+#define __SIZEOF_DOUBLE__ 8
+#define __cpp_exceptions 199711
+#define __INTMAX_TYPE__ long int
+#define __DEC128_MAX_EXP__ 6145
+#define __ATOMIC_CONSUME 1
+#define __GNUC_MINOR__ 3
+#define __GLIBCXX_TYPE_INT_N_0 __int128
+#define __UINTMAX_MAX__ 0xffffffffffffffffUL
+#define __DEC32_MANT_DIG__ 7
+#define __DBL_MAX_10_EXP__ 308
+#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
+#define __INT16_C(c) c
+#define __cpp_generic_lambdas 201304
+#define __STDC__ 1
+#define __PTRDIFF_TYPE__ long int
+#define __ATOMIC_SEQ_CST 5
+#define __UINT32_TYPE__ unsigned int
+#define __UINTPTR_TYPE__ long unsigned int
+#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
+#define __DEC128_MANT_DIG__ 34
+#define __LDBL_MIN_10_EXP__ (-4931)
+#define __SSE_MATH__ 1
+#define __SIZEOF_LONG_LONG__ 8
+#define __cpp_user_defined_literals 200809
+#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
+#define __LDBL_DIG__ 18
+#define __FLT_DECIMAL_DIG__ 9
+#define __UINT_FAST16_MAX__ 0xffffffffffffffffUL
+#define __FLT_MIN_10_EXP__ (-37)
+#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
+#define __UINT_FAST8_TYPE__ unsigned char
+#define _GNU_SOURCE 1
+#define __cpp_init_captures 201304
+#define __ATOMIC_ACQ_REL 4
+#define __ATOMIC_RELEASE 3
diff --git a/qt/RGBController/moc_server.cpp b/qt/RGBController/moc_server.cpp
new file mode 100644
index 0000000..e89f138
--- /dev/null
+++ b/qt/RGBController/moc_server.cpp
@@ -0,0 +1,139 @@
+/****************************************************************************
+** Meta object code from reading C++ file 'server.h'
+**
+** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#include "server.h"
+#include <QtCore/qbytearray.h>
+#include <QtCore/qmetatype.h>
+#if !defined(Q_MOC_OUTPUT_REVISION)
+#error "The header file 'server.h' doesn't include <QObject>."
+#elif Q_MOC_OUTPUT_REVISION != 67
+#error "This file was generated using the moc from 5.9.0. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+QT_BEGIN_MOC_NAMESPACE
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_DEPRECATED
+struct qt_meta_stringdata_server_t {
+ QByteArrayData data[5];
+ char stringdata0[35];
+};
+#define QT_MOC_LITERAL(idx, ofs, len) \
+ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
+ qptrdiff(offsetof(qt_meta_stringdata_server_t, stringdata0) + ofs \
+ - idx * sizeof(QByteArrayData)) \
+ )
+static const qt_meta_stringdata_server_t qt_meta_stringdata_server = {
+ {
+QT_MOC_LITERAL(0, 0, 6), // "server"
+QT_MOC_LITERAL(1, 7, 7), // "sendcmd"
+QT_MOC_LITERAL(2, 15, 0), // ""
+QT_MOC_LITERAL(3, 16, 3), // "cmd"
+QT_MOC_LITERAL(4, 20, 14) // "new_connection"
+
+ },
+ "server\0sendcmd\0\0cmd\0new_connection"
+};
+#undef QT_MOC_LITERAL
+
+static const uint qt_meta_data_server[] = {
+
+ // content:
+ 7, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 2, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
+ 0, // flags
+ 1, // signalCount
+
+ // signals: name, argc, parameters, tag, flags
+ 1, 1, 24, 2, 0x06 /* Public */,
+
+ // slots: name, argc, parameters, tag, flags
+ 4, 0, 27, 2, 0x08 /* Private */,
+
+ // signals: parameters
+ QMetaType::Void, QMetaType::QString, 3,
+
+ // slots: parameters
+ QMetaType::Void,
+
+ 0 // eod
+};
+
+void server::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
+{
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ server *_t = static_cast<server *>(_o);
+ Q_UNUSED(_t)
+ switch (_id) {
+ case 0: _t->sendcmd((*reinterpret_cast< QString(*)>(_a[1]))); break;
+ case 1: _t->new_connection(); break;
+ default: ;
+ }
+ } else if (_c == QMetaObject::IndexOfMethod) {
+ int *result = reinterpret_cast<int *>(_a[0]);
+ void **func = reinterpret_cast<void **>(_a[1]);
+ {
+ typedef void (server::*_t)(QString );
+ if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&server::sendcmd)) {
+ *result = 0;
+ return;
+ }
+ }
+ }
+}
+
+const QMetaObject server::staticMetaObject = {
+ { &QObject::staticMetaObject, qt_meta_stringdata_server.data,
+ qt_meta_data_server, qt_static_metacall, nullptr, nullptr}
+};
+
+
+const QMetaObject *server::metaObject() const
+{
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
+}
+
+void *server::qt_metacast(const char *_clname)
+{
+ if (!_clname) return nullptr;
+ if (!strcmp(_clname, qt_meta_stringdata_server.stringdata0))
+ return static_cast<void*>(const_cast< server*>(this));
+ return QObject::qt_metacast(_clname);
+}
+
+int server::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
+{
+ _id = QObject::qt_metacall(_c, _id, _a);
+ if (_id < 0)
+ return _id;
+ if (_c == QMetaObject::InvokeMetaMethod) {
+ if (_id < 2)
+ qt_static_metacall(this, _c, _id, _a);
+ _id -= 2;
+ } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
+ if (_id < 2)
+ *reinterpret_cast<int*>(_a[0]) = -1;
+ _id -= 2;
+ }
+ return _id;
+}
+
+// SIGNAL 0
+void server::sendcmd(QString _t1)
+{
+ void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
+ QMetaObject::activate(this, &staticMetaObject, 0, _a);
+}
+QT_WARNING_POP
+QT_END_MOC_NAMESPACE
diff --git a/qt/RGBController/server.cpp b/qt/RGBController/server.cpp
index 85e43ee..8a973e6 100644
--- a/qt/RGBController/server.cpp
+++ b/qt/RGBController/server.cpp
@@ -50,5 +50,4 @@ void server::handle(QString msg)
{
emit sendcmd(msg);
}
-
}
diff --git a/qt/RGBController/ui_controllerwindow.h b/qt/RGBController/ui_controllerwindow.h
new file mode 100644
index 0000000..c0402aa
--- /dev/null
+++ b/qt/RGBController/ui_controllerwindow.h
@@ -0,0 +1,621 @@
+/********************************************************************************
+** Form generated from reading UI file 'controllerwindow.ui'
+**
+** Created by: Qt User Interface Compiler version 5.9.0
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_CONTROLLERWINDOW_H
+#define UI_CONTROLLERWINDOW_H
+
+#include <QtCore/QVariant>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QApplication>
+#include <QtWidgets/QButtonGroup>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHeaderView>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QMainWindow>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QSpinBox>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QTextEdit>
+#include <QtWidgets/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_controllerWindow
+{
+public:
+ QWidget *centralWidget;
+ QGridLayout *gridLayout_2;
+ QTabWidget *display_tab;
+ QWidget *status_tab;
+ QFormLayout *formLayout;
+ QGridLayout *gridLayout_5;
+ QLabel *arduino_port_label;
+ QPushButton *refresh_port_button;
+ QLabel *status_label;
+ QLabel *arduino_status_label;
+ QComboBox *arduino_port_dropdown;
+ QPushButton *disconnect_button;
+ QPushButton *connect_button;
+ QWidget *color_tab;
+ QFormLayout *formLayout_2;
+ QLabel *rgb_label;
+ QSlider *r_slider;
+ QPushButton *red_button;
+ QSlider *g_slider;
+ QPushButton *green_button;
+ QSlider *b_slider;
+ QPushButton *blue_button;
+ QPushButton *off_button;
+ QWidget *fade_tab;
+ QFormLayout *formLayout_3;
+ QGridLayout *gridLayout;
+ QPushButton *blue_fade_button;
+ QSpinBox *gfrom;
+ QLabel *g_to_label;
+ QLabel *r_to_label;
+ QSpinBox *bto;
+ QSpinBox *rto;
+ QSpinBox *bfrom;
+ QPushButton *green_fade_button;
+ QSlider *b_speed_slider;
+ QSlider *g_speed_slider;
+ QSpinBox *gto;
+ QSpinBox *rfrom;
+ QPushButton *red_fade_button;
+ QLabel *_to_label;
+ QLabel *fade_label;
+ QSlider *r_speed_slider;
+ QSlider *speed_slider;
+ QLabel *r_speed_label;
+ QLabel *g_speed_label;
+ QLabel *b_speed_label;
+ QPushButton *speed_button;
+ QWidget *presets_tab;
+ QFormLayout *formLayout_4;
+ QLabel *presets_label;
+ QComboBox *presets_dropdown;
+ QPushButton *set_preset_button;
+ QPushButton *reload_preset_button;
+ QLineEdit *preset_name_textbox;
+ QPushButton *preset_save_button;
+ QPushButton *preset_delete_button;
+ QWidget *irc_tab;
+ QFormLayout *formLayout_5;
+ QLabel *irc_bot_label;
+ QLabel *irc_server_label;
+ QLineEdit *irc_server_input;
+ QLabel *irc_channel_label;
+ QLineEdit *irc_channel_input;
+ QLabel *irc_name_label;
+ QLineEdit *irc_name_input;
+ QLabel *irc_port_label;
+ QPushButton *irc_connect_button;
+ QSpinBox *irc_bot_spinbox;
+ QWidget *server_tab;
+ QGridLayout *gridLayout_6;
+ QFormLayout *server_tab_layout;
+ QPushButton *server_start_button;
+ QWidget *log_tab;
+ QGridLayout *gridLayout_3;
+ QLineEdit *serial_input;
+ QPushButton *serial_send_button;
+ QTextEdit *info_log_textarea;
+ QLabel *info_log_label;
+ QLabel *ping_count_label;
+
+ void setupUi(QMainWindow *controllerWindow)
+ {
+ if (controllerWindow->objectName().isEmpty())
+ controllerWindow->setObjectName(QStringLiteral("controllerWindow"));
+ controllerWindow->setWindowModality(Qt::NonModal);
+ controllerWindow->resize(449, 298);
+ centralWidget = new QWidget(controllerWindow);
+ centralWidget->setObjectName(QStringLiteral("centralWidget"));
+ gridLayout_2 = new QGridLayout(centralWidget);
+ gridLayout_2->setSpacing(6);
+ gridLayout_2->setContentsMargins(11, 11, 11, 11);
+ gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
+ display_tab = new QTabWidget(centralWidget);
+ display_tab->setObjectName(QStringLiteral("display_tab"));
+ status_tab = new QWidget();
+ status_tab->setObjectName(QStringLiteral("status_tab"));
+ formLayout = new QFormLayout(status_tab);
+ formLayout->setSpacing(6);
+ formLayout->setContentsMargins(11, 11, 11, 11);
+ formLayout->setObjectName(QStringLiteral("formLayout"));
+ gridLayout_5 = new QGridLayout();
+ gridLayout_5->setSpacing(6);
+ gridLayout_5->setObjectName(QStringLiteral("gridLayout_5"));
+ arduino_port_label = new QLabel(status_tab);
+ arduino_port_label->setObjectName(QStringLiteral("arduino_port_label"));
+ arduino_port_label->setMinimumSize(QSize(120, 0));
+
+ gridLayout_5->addWidget(arduino_port_label, 1, 0, 1, 1);
+
+ refresh_port_button = new QPushButton(status_tab);
+ refresh_port_button->setObjectName(QStringLiteral("refresh_port_button"));
+
+ gridLayout_5->addWidget(refresh_port_button, 2, 1, 1, 1);
+
+ status_label = new QLabel(status_tab);
+ status_label->setObjectName(QStringLiteral("status_label"));
+
+ gridLayout_5->addWidget(status_label, 0, 0, 1, 1);
+
+ arduino_status_label = new QLabel(status_tab);
+ arduino_status_label->setObjectName(QStringLiteral("arduino_status_label"));
+
+ gridLayout_5->addWidget(arduino_status_label, 0, 1, 1, 1);
+
+ arduino_port_dropdown = new QComboBox(status_tab);
+ arduino_port_dropdown->setObjectName(QStringLiteral("arduino_port_dropdown"));
+
+ gridLayout_5->addWidget(arduino_port_dropdown, 1, 1, 1, 1);
+
+ disconnect_button = new QPushButton(status_tab);
+ disconnect_button->setObjectName(QStringLiteral("disconnect_button"));
+
+ gridLayout_5->addWidget(disconnect_button, 3, 1, 1, 1);
+
+ connect_button = new QPushButton(status_tab);
+ connect_button->setObjectName(QStringLiteral("connect_button"));
+
+ gridLayout_5->addWidget(connect_button, 3, 0, 1, 1);
+
+
+ formLayout->setLayout(0, QFormLayout::LabelRole, gridLayout_5);
+
+ display_tab->addTab(status_tab, QString());
+ color_tab = new QWidget();
+ color_tab->setObjectName(QStringLiteral("color_tab"));
+ formLayout_2 = new QFormLayout(color_tab);
+ formLayout_2->setSpacing(6);
+ formLayout_2->setContentsMargins(11, 11, 11, 11);
+ formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
+ rgb_label = new QLabel(color_tab);
+ rgb_label->setObjectName(QStringLiteral("rgb_label"));
+
+ formLayout_2->setWidget(0, QFormLayout::LabelRole, rgb_label);
+
+ r_slider = new QSlider(color_tab);
+ r_slider->setObjectName(QStringLiteral("r_slider"));
+ r_slider->setMinimumSize(QSize(120, 0));
+ r_slider->setMaximumSize(QSize(120, 16777215));
+ r_slider->setMaximum(255);
+ r_slider->setOrientation(Qt::Horizontal);
+
+ formLayout_2->setWidget(1, QFormLayout::LabelRole, r_slider);
+
+ red_button = new QPushButton(color_tab);
+ red_button->setObjectName(QStringLiteral("red_button"));
+ red_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_2->setWidget(1, QFormLayout::FieldRole, red_button);
+
+ g_slider = new QSlider(color_tab);
+ g_slider->setObjectName(QStringLiteral("g_slider"));
+ g_slider->setMinimumSize(QSize(120, 0));
+ g_slider->setMaximumSize(QSize(120, 16777215));
+ g_slider->setMaximum(255);
+ g_slider->setOrientation(Qt::Horizontal);
+
+ formLayout_2->setWidget(2, QFormLayout::LabelRole, g_slider);
+
+ green_button = new QPushButton(color_tab);
+ green_button->setObjectName(QStringLiteral("green_button"));
+ green_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_2->setWidget(2, QFormLayout::FieldRole, green_button);
+
+ b_slider = new QSlider(color_tab);
+ b_slider->setObjectName(QStringLiteral("b_slider"));
+ b_slider->setMinimumSize(QSize(120, 0));
+ b_slider->setMaximumSize(QSize(120, 16777215));
+ b_slider->setMaximum(255);
+ b_slider->setOrientation(Qt::Horizontal);
+
+ formLayout_2->setWidget(3, QFormLayout::LabelRole, b_slider);
+
+ blue_button = new QPushButton(color_tab);
+ blue_button->setObjectName(QStringLiteral("blue_button"));
+ blue_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_2->setWidget(3, QFormLayout::FieldRole, blue_button);
+
+ off_button = new QPushButton(color_tab);
+ off_button->setObjectName(QStringLiteral("off_button"));
+ off_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_2->setWidget(4, QFormLayout::FieldRole, off_button);
+
+ display_tab->addTab(color_tab, QString());
+ rgb_label->raise();
+ r_slider->raise();
+ g_slider->raise();
+ b_slider->raise();
+ red_button->raise();
+ green_button->raise();
+ blue_button->raise();
+ off_button->raise();
+ fade_tab = new QWidget();
+ fade_tab->setObjectName(QStringLiteral("fade_tab"));
+ formLayout_3 = new QFormLayout(fade_tab);
+ formLayout_3->setSpacing(6);
+ formLayout_3->setContentsMargins(11, 11, 11, 11);
+ formLayout_3->setObjectName(QStringLiteral("formLayout_3"));
+ gridLayout = new QGridLayout();
+ gridLayout->setSpacing(6);
+ gridLayout->setObjectName(QStringLiteral("gridLayout"));
+ blue_fade_button = new QPushButton(fade_tab);
+ blue_fade_button->setObjectName(QStringLiteral("blue_fade_button"));
+
+ gridLayout->addWidget(blue_fade_button, 4, 3, 1, 1);
+
+ gfrom = new QSpinBox(fade_tab);
+ gfrom->setObjectName(QStringLiteral("gfrom"));
+ gfrom->setMaximumSize(QSize(50, 16777215));
+ gfrom->setMaximum(255);
+
+ gridLayout->addWidget(gfrom, 3, 0, 1, 1);
+
+ g_to_label = new QLabel(fade_tab);
+ g_to_label->setObjectName(QStringLiteral("g_to_label"));
+
+ gridLayout->addWidget(g_to_label, 3, 1, 1, 1);
+
+ r_to_label = new QLabel(fade_tab);
+ r_to_label->setObjectName(QStringLiteral("r_to_label"));
+
+ gridLayout->addWidget(r_to_label, 1, 1, 1, 1);
+
+ bto = new QSpinBox(fade_tab);
+ bto->setObjectName(QStringLiteral("bto"));
+ bto->setMaximumSize(QSize(50, 16777215));
+ bto->setMaximum(255);
+
+ gridLayout->addWidget(bto, 4, 2, 1, 1);
+
+ rto = new QSpinBox(fade_tab);
+ rto->setObjectName(QStringLiteral("rto"));
+ rto->setMaximumSize(QSize(50, 16777215));
+ rto->setMaximum(255);
+
+ gridLayout->addWidget(rto, 1, 2, 1, 1);
+
+ bfrom = new QSpinBox(fade_tab);
+ bfrom->setObjectName(QStringLiteral("bfrom"));
+ bfrom->setMaximumSize(QSize(50, 16777215));
+ bfrom->setMaximum(255);
+
+ gridLayout->addWidget(bfrom, 4, 0, 1, 1);
+
+ green_fade_button = new QPushButton(fade_tab);
+ green_fade_button->setObjectName(QStringLiteral("green_fade_button"));
+
+ gridLayout->addWidget(green_fade_button, 3, 3, 1, 1);
+
+ b_speed_slider = new QSlider(fade_tab);
+ b_speed_slider->setObjectName(QStringLiteral("b_speed_slider"));
+ b_speed_slider->setMinimum(1);
+ b_speed_slider->setMaximum(500);
+ b_speed_slider->setOrientation(Qt::Horizontal);
+
+ gridLayout->addWidget(b_speed_slider, 7, 0, 1, 1);
+
+ g_speed_slider = new QSlider(fade_tab);
+ g_speed_slider->setObjectName(QStringLiteral("g_speed_slider"));
+ g_speed_slider->setMinimum(1);
+ g_speed_slider->setMaximum(500);
+ g_speed_slider->setOrientation(Qt::Horizontal);
+
+ gridLayout->addWidget(g_speed_slider, 6, 0, 1, 1);
+
+ gto = new QSpinBox(fade_tab);
+ gto->setObjectName(QStringLiteral("gto"));
+ gto->setMaximumSize(QSize(50, 16777215));
+ gto->setMaximum(255);
+
+ gridLayout->addWidget(gto, 3, 2, 1, 1);
+
+ rfrom = new QSpinBox(fade_tab);
+ rfrom->setObjectName(QStringLiteral("rfrom"));
+ rfrom->setMaximumSize(QSize(50, 16777215));
+ rfrom->setMaximum(255);
+
+ gridLayout->addWidget(rfrom, 1, 0, 1, 1);
+
+ red_fade_button = new QPushButton(fade_tab);
+ red_fade_button->setObjectName(QStringLiteral("red_fade_button"));
+
+ gridLayout->addWidget(red_fade_button, 1, 3, 1, 1);
+
+ _to_label = new QLabel(fade_tab);
+ _to_label->setObjectName(QStringLiteral("_to_label"));
+
+ gridLayout->addWidget(_to_label, 4, 1, 1, 1);
+
+ fade_label = new QLabel(fade_tab);
+ fade_label->setObjectName(QStringLiteral("fade_label"));
+
+ gridLayout->addWidget(fade_label, 0, 0, 1, 1);
+
+ r_speed_slider = new QSlider(fade_tab);
+ r_speed_slider->setObjectName(QStringLiteral("r_speed_slider"));
+ r_speed_slider->setMinimum(1);
+ r_speed_slider->setMaximum(100);
+ r_speed_slider->setOrientation(Qt::Horizontal);
+
+ gridLayout->addWidget(r_speed_slider, 5, 0, 1, 1);
+
+ speed_slider = new QSlider(fade_tab);
+ speed_slider->setObjectName(QStringLiteral("speed_slider"));
+ speed_slider->setMinimum(10);
+ speed_slider->setMaximum(500);
+ speed_slider->setOrientation(Qt::Horizontal);
+
+ gridLayout->addWidget(speed_slider, 8, 0, 1, 1);
+
+ r_speed_label = new QLabel(fade_tab);
+ r_speed_label->setObjectName(QStringLiteral("r_speed_label"));
+
+ gridLayout->addWidget(r_speed_label, 5, 2, 1, 1);
+
+ g_speed_label = new QLabel(fade_tab);
+ g_speed_label->setObjectName(QStringLiteral("g_speed_label"));
+
+ gridLayout->addWidget(g_speed_label, 6, 2, 1, 1);
+
+ b_speed_label = new QLabel(fade_tab);
+ b_speed_label->setObjectName(QStringLiteral("b_speed_label"));
+
+ gridLayout->addWidget(b_speed_label, 7, 2, 1, 1);
+
+ speed_button = new QPushButton(fade_tab);
+ speed_button->setObjectName(QStringLiteral("speed_button"));
+
+ gridLayout->addWidget(speed_button, 8, 2, 1, 1);
+
+
+ formLayout_3->setLayout(0, QFormLayout::LabelRole, gridLayout);
+
+ display_tab->addTab(fade_tab, QString());
+ presets_tab = new QWidget();
+ presets_tab->setObjectName(QStringLiteral("presets_tab"));
+ formLayout_4 = new QFormLayout(presets_tab);
+ formLayout_4->setSpacing(6);
+ formLayout_4->setContentsMargins(11, 11, 11, 11);
+ formLayout_4->setObjectName(QStringLiteral("formLayout_4"));
+ presets_label = new QLabel(presets_tab);
+ presets_label->setObjectName(QStringLiteral("presets_label"));
+
+ formLayout_4->setWidget(0, QFormLayout::LabelRole, presets_label);
+
+ presets_dropdown = new QComboBox(presets_tab);
+ presets_dropdown->setObjectName(QStringLiteral("presets_dropdown"));
+ presets_dropdown->setMinimumSize(QSize(120, 0));
+
+ formLayout_4->setWidget(1, QFormLayout::LabelRole, presets_dropdown);
+
+ set_preset_button = new QPushButton(presets_tab);
+ set_preset_button->setObjectName(QStringLiteral("set_preset_button"));
+ set_preset_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_4->setWidget(1, QFormLayout::FieldRole, set_preset_button);
+
+ reload_preset_button = new QPushButton(presets_tab);
+ reload_preset_button->setObjectName(QStringLiteral("reload_preset_button"));
+
+ formLayout_4->setWidget(2, QFormLayout::LabelRole, reload_preset_button);
+
+ preset_name_textbox = new QLineEdit(presets_tab);
+ preset_name_textbox->setObjectName(QStringLiteral("preset_name_textbox"));
+
+ formLayout_4->setWidget(3, QFormLayout::LabelRole, preset_name_textbox);
+
+ preset_save_button = new QPushButton(presets_tab);
+ preset_save_button->setObjectName(QStringLiteral("preset_save_button"));
+ preset_save_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_4->setWidget(3, QFormLayout::FieldRole, preset_save_button);
+
+ preset_delete_button = new QPushButton(presets_tab);
+ preset_delete_button->setObjectName(QStringLiteral("preset_delete_button"));
+ preset_delete_button->setMaximumSize(QSize(90, 16777215));
+
+ formLayout_4->setWidget(4, QFormLayout::FieldRole, preset_delete_button);
+
+ display_tab->addTab(presets_tab, QString());
+ irc_tab = new QWidget();
+ irc_tab->setObjectName(QStringLiteral("irc_tab"));
+ formLayout_5 = new QFormLayout(irc_tab);
+ formLayout_5->setSpacing(6);
+ formLayout_5->setContentsMargins(11, 11, 11, 11);
+ formLayout_5->setObjectName(QStringLiteral("formLayout_5"));
+ irc_bot_label = new QLabel(irc_tab);
+ irc_bot_label->setObjectName(QStringLiteral("irc_bot_label"));
+
+ formLayout_5->setWidget(0, QFormLayout::LabelRole, irc_bot_label);
+
+ irc_server_label = new QLabel(irc_tab);
+ irc_server_label->setObjectName(QStringLiteral("irc_server_label"));
+
+ formLayout_5->setWidget(2, QFormLayout::LabelRole, irc_server_label);
+
+ irc_server_input = new QLineEdit(irc_tab);
+ irc_server_input->setObjectName(QStringLiteral("irc_server_input"));
+
+ formLayout_5->setWidget(5, QFormLayout::LabelRole, irc_server_input);
+
+ irc_channel_label = new QLabel(irc_tab);
+ irc_channel_label->setObjectName(QStringLiteral("irc_channel_label"));
+
+ formLayout_5->setWidget(6, QFormLayout::LabelRole, irc_channel_label);
+
+ irc_channel_input = new QLineEdit(irc_tab);
+ irc_channel_input->setObjectName(QStringLiteral("irc_channel_input"));
+
+ formLayout_5->setWidget(7, QFormLayout::LabelRole, irc_channel_input);
+
+ irc_name_label = new QLabel(irc_tab);
+ irc_name_label->setObjectName(QStringLiteral("irc_name_label"));
+
+ formLayout_5->setWidget(8, QFormLayout::LabelRole, irc_name_label);
+
+ irc_name_input = new QLineEdit(irc_tab);
+ irc_name_input->setObjectName(QStringLiteral("irc_name_input"));
+
+ formLayout_5->setWidget(9, QFormLayout::LabelRole, irc_name_input);
+
+ irc_port_label = new QLabel(irc_tab);
+ irc_port_label->setObjectName(QStringLiteral("irc_port_label"));
+
+ formLayout_5->setWidget(2, QFormLayout::FieldRole, irc_port_label);
+
+ irc_connect_button = new QPushButton(irc_tab);
+ irc_connect_button->setObjectName(QStringLiteral("irc_connect_button"));
+
+ formLayout_5->setWidget(10, QFormLayout::LabelRole, irc_connect_button);
+
+ irc_bot_spinbox = new QSpinBox(irc_tab);
+ irc_bot_spinbox->setObjectName(QStringLiteral("irc_bot_spinbox"));
+ irc_bot_spinbox->setMinimumSize(QSize(60, 0));
+ irc_bot_spinbox->setMaximumSize(QSize(50, 16777215));
+ irc_bot_spinbox->setMaximum(99999);
+ irc_bot_spinbox->setValue(6667);
+
+ formLayout_5->setWidget(5, QFormLayout::FieldRole, irc_bot_spinbox);
+
+ display_tab->addTab(irc_tab, QString());
+ server_tab = new QWidget();
+ server_tab->setObjectName(QStringLiteral("server_tab"));
+ gridLayout_6 = new QGridLayout(server_tab);
+ gridLayout_6->setSpacing(6);
+ gridLayout_6->setContentsMargins(11, 11, 11, 11);
+ gridLayout_6->setObjectName(QStringLiteral("gridLayout_6"));
+ server_tab_layout = new QFormLayout();
+ server_tab_layout->setSpacing(6);
+ server_tab_layout->setObjectName(QStringLiteral("server_tab_layout"));
+ server_start_button = new QPushButton(server_tab);
+ server_start_button->setObjectName(QStringLiteral("server_start_button"));
+
+ server_tab_layout->setWidget(0, QFormLayout::LabelRole, server_start_button);
+
+
+ gridLayout_6->addLayout(server_tab_layout, 0, 0, 1, 1);
+
+ display_tab->addTab(server_tab, QString());
+ log_tab = new QWidget();
+ log_tab->setObjectName(QStringLiteral("log_tab"));
+ gridLayout_3 = new QGridLayout(log_tab);
+ gridLayout_3->setSpacing(6);
+ gridLayout_3->setContentsMargins(11, 11, 11, 11);
+ gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
+ serial_input = new QLineEdit(log_tab);
+ serial_input->setObjectName(QStringLiteral("serial_input"));
+
+ gridLayout_3->addWidget(serial_input, 5, 0, 1, 1);
+
+ serial_send_button = new QPushButton(log_tab);
+ serial_send_button->setObjectName(QStringLiteral("serial_send_button"));
+
+ gridLayout_3->addWidget(serial_send_button, 5, 1, 1, 1);
+
+ info_log_textarea = new QTextEdit(log_tab);
+ info_log_textarea->setObjectName(QStringLiteral("info_log_textarea"));
+
+ gridLayout_3->addWidget(info_log_textarea, 4, 0, 1, 2);
+
+ info_log_label = new QLabel(log_tab);
+ info_log_label->setObjectName(QStringLiteral("info_log_label"));
+
+ gridLayout_3->addWidget(info_log_label, 0, 0, 1, 1);
+
+ ping_count_label = new QLabel(log_tab);
+ ping_count_label->setObjectName(QStringLiteral("ping_count_label"));
+
+ gridLayout_3->addWidget(ping_count_label, 0, 1, 1, 1);
+
+ display_tab->addTab(log_tab, QString());
+
+ gridLayout_2->addWidget(display_tab, 7, 1, 1, 1);
+
+ controllerWindow->setCentralWidget(centralWidget);
+
+ retranslateUi(controllerWindow);
+
+ display_tab->setCurrentIndex(4);
+
+
+ QMetaObject::connectSlotsByName(controllerWindow);
+ } // setupUi
+
+ void retranslateUi(QMainWindow *controllerWindow)
+ {
+ controllerWindow->setWindowTitle(QApplication::translate("controllerWindow", "RGB Controller", Q_NULLPTR));
+ arduino_port_label->setText(QApplication::translate("controllerWindow", "Arduino port", Q_NULLPTR));
+ refresh_port_button->setText(QApplication::translate("controllerWindow", "Refresh", Q_NULLPTR));
+ status_label->setText(QApplication::translate("controllerWindow", "Status", Q_NULLPTR));
+ arduino_status_label->setText(QApplication::translate("controllerWindow", "<font color = red>Disconnected</font>", Q_NULLPTR));
+ disconnect_button->setText(QApplication::translate("controllerWindow", "Disconnect", Q_NULLPTR));
+ connect_button->setText(QApplication::translate("controllerWindow", "Connect", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(status_tab), QApplication::translate("controllerWindow", "Status", Q_NULLPTR));
+ rgb_label->setText(QApplication::translate("controllerWindow", "RGB colors", Q_NULLPTR));
+ red_button->setText(QApplication::translate("controllerWindow", "Red", Q_NULLPTR));
+ green_button->setText(QApplication::translate("controllerWindow", "Green", Q_NULLPTR));
+ blue_button->setText(QApplication::translate("controllerWindow", "Blue", Q_NULLPTR));
+ off_button->setText(QApplication::translate("controllerWindow", "Off", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(color_tab), QApplication::translate("controllerWindow", "Color", Q_NULLPTR));
+ blue_fade_button->setText(QApplication::translate("controllerWindow", "Blue toggle", Q_NULLPTR));
+ g_to_label->setText(QApplication::translate("controllerWindow", "to", Q_NULLPTR));
+ r_to_label->setText(QApplication::translate("controllerWindow", "to", Q_NULLPTR));
+ green_fade_button->setText(QApplication::translate("controllerWindow", "Green toggle", Q_NULLPTR));
+ red_fade_button->setText(QApplication::translate("controllerWindow", "Red toggle", Q_NULLPTR));
+ _to_label->setText(QApplication::translate("controllerWindow", "to", Q_NULLPTR));
+ fade_label->setText(QApplication::translate("controllerWindow", "Fade", Q_NULLPTR));
+ r_speed_label->setText(QApplication::translate("controllerWindow", "Red speed", Q_NULLPTR));
+ g_speed_label->setText(QApplication::translate("controllerWindow", "Green speed", Q_NULLPTR));
+ b_speed_label->setText(QApplication::translate("controllerWindow", "Blue speed", Q_NULLPTR));
+ speed_button->setText(QApplication::translate("controllerWindow", "Speed", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(fade_tab), QApplication::translate("controllerWindow", "Fade", Q_NULLPTR));
+ presets_label->setText(QApplication::translate("controllerWindow", "Presets", Q_NULLPTR));
+ set_preset_button->setText(QApplication::translate("controllerWindow", "Set", Q_NULLPTR));
+ reload_preset_button->setText(QApplication::translate("controllerWindow", "Reload", Q_NULLPTR));
+ preset_save_button->setText(QApplication::translate("controllerWindow", "Save", Q_NULLPTR));
+ preset_delete_button->setText(QApplication::translate("controllerWindow", "Delete", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(presets_tab), QApplication::translate("controllerWindow", "Presets", Q_NULLPTR));
+ irc_bot_label->setText(QApplication::translate("controllerWindow", "IRC bot", Q_NULLPTR));
+ irc_server_label->setText(QApplication::translate("controllerWindow", "Server", Q_NULLPTR));
+ irc_server_input->setText(QApplication::translate("controllerWindow", "irc.danieljon.es", Q_NULLPTR));
+ irc_channel_label->setText(QApplication::translate("controllerWindow", "Channel", Q_NULLPTR));
+ irc_channel_input->setText(QApplication::translate("controllerWindow", "#csgo", Q_NULLPTR));
+ irc_name_label->setText(QApplication::translate("controllerWindow", "Name", Q_NULLPTR));
+ irc_name_input->setText(QApplication::translate("controllerWindow", "LightBot", Q_NULLPTR));
+ irc_port_label->setText(QApplication::translate("controllerWindow", "Port", Q_NULLPTR));
+ irc_connect_button->setText(QApplication::translate("controllerWindow", "Connect", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(irc_tab), QApplication::translate("controllerWindow", "IRC", Q_NULLPTR));
+ server_start_button->setText(QApplication::translate("controllerWindow", "Start server", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(server_tab), QApplication::translate("controllerWindow", "Server", Q_NULLPTR));
+ serial_send_button->setText(QApplication::translate("controllerWindow", "Send", Q_NULLPTR));
+ info_log_label->setText(QApplication::translate("controllerWindow", "Information log", Q_NULLPTR));
+ ping_count_label->setText(QApplication::translate("controllerWindow", "Ping", Q_NULLPTR));
+ display_tab->setTabText(display_tab->indexOf(log_tab), QApplication::translate("controllerWindow", "Log", Q_NULLPTR));
+ } // retranslateUi
+
+};
+
+namespace Ui {
+ class controllerWindow: public Ui_controllerWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_CONTROLLERWINDOW_H