]> git.defcon.no Git - rctxduino/commitdiff
Got the very basics working, no more segfaulting
authorHans Åge Martinsen <hamartin@moshwire.com>
Mon, 5 Sep 2011 21:06:59 +0000 (23:06 +0200)
committerHans Åge Martinsen <hamartin@moshwire.com>
Mon, 5 Sep 2011 21:06:59 +0000 (23:06 +0200)
13 files changed:
tools/jstt/Makefile [new file with mode: 0644]
tools/jstt/jstt [new file with mode: 0755]
tools/jstt/jstt.cpp [new file with mode: 0644]
tools/jstt/jstt.h [new file with mode: 0644]
tools/jstt/jstt.o [new file with mode: 0644]
tools/jstt/jstt.pro [new file with mode: 0644]
tools/jstt/jstt.pro.user [new file with mode: 0644]
tools/jstt/jstt.ui [new file with mode: 0644]
tools/jstt/main.cpp [new file with mode: 0644]
tools/jstt/main.o [new file with mode: 0644]
tools/jstt/moc_jstt.cpp [new file with mode: 0644]
tools/jstt/moc_jstt.o [new file with mode: 0644]
tools/jstt/ui_jstt.h [new file with mode: 0644]

diff --git a/tools/jstt/Makefile b/tools/jstt/Makefile
new file mode 100644 (file)
index 0000000..656c1fe
--- /dev/null
@@ -0,0 +1,217 @@
+#############################################################################
+# Makefile for building: jstt
+# Generated by qmake (2.01a) (Qt 4.6.3) on: Mon Sep 5 22:36:29 2011
+# Project:  jstt.pro
+# Template: app
+# Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC            = gcc
+CXX           = g++
+DEFINES       = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
+CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
+LINK          = g++
+LFLAGS        = 
+LIBS          = $(SUBLIBS)  -L/usr/lib -lSDL -lQtGui -lQtCore -lpthread 
+AR            = ar cqs
+RANLIB        = 
+QMAKE         = /usr/bin/qmake-qt4
+TAR           = tar -cf
+COMPRESS      = gzip -9f
+COPY          = cp -f
+SED           = sed
+COPY_FILE     = $(COPY)
+COPY_DIR      = $(COPY) -r
+STRIP         = strip
+INSTALL_FILE  = install -m 644 -p
+INSTALL_DIR   = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE      = rm -f
+SYMLINK       = ln -f -s
+DEL_DIR       = rmdir
+MOVE          = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR         = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR   = ./
+
+####### Files
+
+SOURCES       = main.cpp \
+               jstt.cpp moc_jstt.cpp
+OBJECTS       = main.o \
+               jstt.o \
+               moc_jstt.o
+DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
+               /usr/share/qt4/mkspecs/common/unix.conf \
+               /usr/share/qt4/mkspecs/common/linux.conf \
+               /usr/share/qt4/mkspecs/qconfig.pri \
+               /usr/share/qt4/mkspecs/features/qt_functions.prf \
+               /usr/share/qt4/mkspecs/features/qt_config.prf \
+               /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+               /usr/share/qt4/mkspecs/features/default_pre.prf \
+               /usr/share/qt4/mkspecs/features/debug.prf \
+               /usr/share/qt4/mkspecs/features/default_post.prf \
+               /usr/share/qt4/mkspecs/features/warn_on.prf \
+               /usr/share/qt4/mkspecs/features/qt.prf \
+               /usr/share/qt4/mkspecs/features/unix/thread.prf \
+               /usr/share/qt4/mkspecs/features/moc.prf \
+               /usr/share/qt4/mkspecs/features/resources.prf \
+               /usr/share/qt4/mkspecs/features/uic.prf \
+               /usr/share/qt4/mkspecs/features/yacc.prf \
+               /usr/share/qt4/mkspecs/features/lex.prf \
+               /usr/share/qt4/mkspecs/features/include_source_dir.prf \
+               jstt.pro
+QMAKE_TARGET  = jstt
+DESTDIR       = 
+TARGET        = jstt
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+       $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile $(TARGET)
+
+$(TARGET): ui_jstt.h $(OBJECTS)  
+       $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+
+Makefile: jstt.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+               /usr/share/qt4/mkspecs/common/unix.conf \
+               /usr/share/qt4/mkspecs/common/linux.conf \
+               /usr/share/qt4/mkspecs/qconfig.pri \
+               /usr/share/qt4/mkspecs/features/qt_functions.prf \
+               /usr/share/qt4/mkspecs/features/qt_config.prf \
+               /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+               /usr/share/qt4/mkspecs/features/default_pre.prf \
+               /usr/share/qt4/mkspecs/features/debug.prf \
+               /usr/share/qt4/mkspecs/features/default_post.prf \
+               /usr/share/qt4/mkspecs/features/warn_on.prf \
+               /usr/share/qt4/mkspecs/features/qt.prf \
+               /usr/share/qt4/mkspecs/features/unix/thread.prf \
+               /usr/share/qt4/mkspecs/features/moc.prf \
+               /usr/share/qt4/mkspecs/features/resources.prf \
+               /usr/share/qt4/mkspecs/features/uic.prf \
+               /usr/share/qt4/mkspecs/features/yacc.prf \
+               /usr/share/qt4/mkspecs/features/lex.prf \
+               /usr/share/qt4/mkspecs/features/include_source_dir.prf \
+               /usr/lib/libQtGui.prl \
+               /usr/lib/libQtCore.prl
+       $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
+/usr/share/qt4/mkspecs/common/g++.conf:
+/usr/share/qt4/mkspecs/common/unix.conf:
+/usr/share/qt4/mkspecs/common/linux.conf:
+/usr/share/qt4/mkspecs/qconfig.pri:
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/usr/share/qt4/mkspecs/features/qt_config.prf:
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/share/qt4/mkspecs/features/default_pre.prf:
+/usr/share/qt4/mkspecs/features/debug.prf:
+/usr/share/qt4/mkspecs/features/default_post.prf:
+/usr/share/qt4/mkspecs/features/warn_on.prf:
+/usr/share/qt4/mkspecs/features/qt.prf:
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/usr/share/qt4/mkspecs/features/moc.prf:
+/usr/share/qt4/mkspecs/features/resources.prf:
+/usr/share/qt4/mkspecs/features/uic.prf:
+/usr/share/qt4/mkspecs/features/yacc.prf:
+/usr/share/qt4/mkspecs/features/lex.prf:
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+/usr/lib/libQtGui.prl:
+/usr/lib/libQtCore.prl:
+qmake:  FORCE
+       @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
+
+dist: 
+       @$(CHK_DIR_EXISTS) .tmp/jstt1.0.0 || $(MKDIR) .tmp/jstt1.0.0 
+       $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/jstt1.0.0/ && $(COPY_FILE) --parents jstt.h .tmp/jstt1.0.0/ && $(COPY_FILE) --parents main.cpp jstt.cpp .tmp/jstt1.0.0/ && $(COPY_FILE) --parents jstt.ui .tmp/jstt1.0.0/ && (cd `dirname .tmp/jstt1.0.0` && $(TAR) jstt1.0.0.tar jstt1.0.0 && $(COMPRESS) jstt1.0.0.tar) && $(MOVE) `dirname .tmp/jstt1.0.0`/jstt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/jstt1.0.0
+
+
+clean:compiler_clean 
+       -$(DEL_FILE) $(OBJECTS)
+       -$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+       -$(DEL_FILE) $(TARGET) 
+       -$(DEL_FILE) Makefile
+
+
+check: first
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc_jstt.cpp
+compiler_moc_header_clean:
+       -$(DEL_FILE) moc_jstt.cpp
+moc_jstt.cpp: jstt.h
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) jstt.h -o moc_jstt.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+       -$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all: ui_jstt.h
+compiler_uic_clean:
+       -$(DEL_FILE) ui_jstt.h
+ui_jstt.h: jstt.ui
+       /usr/bin/uic-qt4 jstt.ui -o ui_jstt.h
+
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean compiler_uic_clean 
+
+####### Compile
+
+main.o: main.cpp jstt.h
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
+
+jstt.o: jstt.cpp jstt.h \
+               ui_jstt.h
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o jstt.o jstt.cpp
+
+moc_jstt.o: moc_jstt.cpp 
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_jstt.o moc_jstt.cpp
+
+####### Install
+
+install:   FORCE
+
+uninstall:   FORCE
+
+FORCE:
+
diff --git a/tools/jstt/jstt b/tools/jstt/jstt
new file mode 100755 (executable)
index 0000000..c39fb33
Binary files /dev/null and b/tools/jstt/jstt differ
diff --git a/tools/jstt/jstt.cpp b/tools/jstt/jstt.cpp
new file mode 100644 (file)
index 0000000..5698a1a
--- /dev/null
@@ -0,0 +1,35 @@
+#include "jstt.h"
+#include "ui_jstt.h"
+
+jstt::jstt(QWidget *parent) :
+    QMainWindow(parent),
+    ui(new Ui::jstt)
+{
+    int i;
+
+    ui->setupUi(this);
+
+    if( SDL_Init(SDL_INIT_JOYSTICK) == 0 ) {
+        for(i = 0; i < SDL_NumJoysticks(); i++) {
+            this->jsNames.append(SDL_JoystickName(i));
+        }
+        ui->Joysticks->addItems(this->jsNames);
+    }
+}
+
+jstt::~jstt()
+{
+    delete ui;
+}
+
+void jstt::changeEvent(QEvent *e)
+{
+    QMainWindow::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}
diff --git a/tools/jstt/jstt.h b/tools/jstt/jstt.h
new file mode 100644 (file)
index 0000000..dd3c478
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef JSTT_H
+#define JSTT_H
+
+#include <QMainWindow>
+#include <QStringList>
+#include <SDL/SDL.h>
+
+namespace Ui {
+    class jstt;
+}
+
+class jstt : public QMainWindow {
+    Q_OBJECT
+public:
+    jstt(QWidget *parent = 0);
+    ~jstt();
+
+protected:
+    void changeEvent(QEvent *e);
+
+private:
+    Ui::jstt *ui;
+
+    QStringList jsNames;
+};
+
+#endif // JSTT_H
diff --git a/tools/jstt/jstt.o b/tools/jstt/jstt.o
new file mode 100644 (file)
index 0000000..d528143
Binary files /dev/null and b/tools/jstt/jstt.o differ
diff --git a/tools/jstt/jstt.pro b/tools/jstt/jstt.pro
new file mode 100644 (file)
index 0000000..1c93cad
--- /dev/null
@@ -0,0 +1,17 @@
+#-------------------------------------------------
+#
+# Project created by QtCreator 2011-09-05T21:48:34
+#
+#-------------------------------------------------
+
+TARGET = jstt
+TEMPLATE = app
+
+LIBS += -lSDL
+
+SOURCES += main.cpp\
+        jstt.cpp
+
+HEADERS  += jstt.h
+
+FORMS    += jstt.ui
diff --git a/tools/jstt/jstt.pro.user b/tools/jstt/jstt.pro.user
new file mode 100644 (file)
index 0000000..a325bec
--- /dev/null
@@ -0,0 +1,281 @@
+<!DOCTYPE QtCreatorProject>
+<qtcreator>
+ <data>
+  <variable>RunConfiguration0-BaseEnvironmentBase</variable>
+  <value type="int">2</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-CommandLineArguments</variable>
+  <valuelist type="QVariantList"/>
+ </data>
+ <data>
+  <variable>RunConfiguration0-ProFile</variable>
+  <value type="QString">jstt.pro</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-RunConfiguration.name</variable>
+  <value type="QString">jstt</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UseDyldImageSuffix</variable>
+  <value type="bool">false</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UseTerminal</variable>
+  <value type="bool">false</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UserEnvironmentChanges</variable>
+  <valuelist type="QVariantList"/>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UserSetName</variable>
+  <value type="bool">false</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UserSetWorkingDirectory</variable>
+  <value type="bool">false</value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-UserWorkingDirectory</variable>
+  <value type="QString"></value>
+ </data>
+ <data>
+  <variable>RunConfiguration0-type</variable>
+  <value type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
+ </data>
+ <data>
+  <variable>activeRunConfiguration</variable>
+  <value type="int">0</value>
+ </data>
+ <data>
+  <variable>activebuildconfiguration</variable>
+  <value type="QString">Debug</value>
+ </data>
+ <data>
+  <variable>buildConfiguration-Debug</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
+   <value key="QtVersionId" type="int">0</value>
+   <value key="ToolChain" type="int">0</value>
+   <value key="buildConfiguration" type="int">2</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildConfiguration-Release</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
+   <value key="QtVersionId" type="int">0</value>
+   <value key="buildConfiguration" type="int">0</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Debug-buildstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
+   <valuelist key="abstractProcess.Environment" type="QVariantList">
+    <value type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bDFx1C4Jwo,guid=0604b65954467f9c372273710000000b</value>
+    <value type="QString">DESKTOP_SESSION=default</value>
+    <value type="QString">DISPLAY=:0.0</value>
+    <value type="QString">GDMSESSION=default</value>
+    <value type="QString">GDM_KEYBOARD_LAYOUT=no</value>
+    <value type="QString">GDM_LANG=en_GB.utf8</value>
+    <value type="QString">GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
+    <value type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-zwAQcM</value>
+    <value type="QString">GNOME_KEYRING_PID=2263</value>
+    <value type="QString">GPG_AGENT_INFO=/tmp/seahorse-Yo7dqr/S.gpg-agent:2332:1</value>
+    <value type="QString">GTK_MODULES=canberra-gtk-module</value>
+    <value type="QString">GTK_RC_FILES=/etc/gtk/gtkrc:/home/hamartin/.gtkrc-1.2-gnome2</value>
+    <value type="QString">HOME=/home/hamartin</value>
+    <value type="QString">LANG=en_GB.utf8</value>
+    <value type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator</value>
+    <value type="QString">LOGNAME=hamartin</value>
+    <value type="QString">ORBIT_SOCKETDIR=/tmp/orbit-hamartin</value>
+    <value type="QString">PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:~/.bins</value>
+    <value type="QString">PWD=/home/hamartin</value>
+    <value type="QString">QTDIR=/usr/share/qt4</value>
+    <value type="QString">SESSION_MANAGER=local/Yggdrasil:@/tmp/.ICE-unix/2282,unix/Yggdrasil:/tmp/.ICE-unix/2282</value>
+    <value type="QString">SHELL=/bin/bash</value>
+    <value type="QString">SSH_AGENT_PID=2318</value>
+    <value type="QString">SSH_AUTH_SOCK=/tmp/keyring-zwAQcM/ssh</value>
+    <value type="QString">USER=hamartin</value>
+    <value type="QString">USERNAME=hamartin</value>
+    <value type="QString">WINDOWPATH=7</value>
+    <value type="QString">XAUTHORITY=/var/run/gdm3/auth-for-hamartin-wxYjYg/database</value>
+    <value type="QString">XDG_DATA_DIRS=/usr/share/gnome:/usr/share/gdm/:/usr/local/share/:/usr/share/</value>
+    <value type="QString">XDG_SESSION_COOKIE=5593fda0c83485f3d38cc04e00000004-1315250992.576781-1080984304</value>
+   </valuelist>
+   <valuelist key="abstractProcess.arguments" type="QVariantList">
+    <value type="QString">/home/hamartin/Documents/Hobby/rctxduino/tools/jstt/jstt.pro</value>
+    <value type="QString">-spec</value>
+    <value type="QString">linux-g++</value>
+    <value type="QString">-r</value>
+    <value type="QString">CONFIG+=debug</value>
+   </valuelist>
+   <value key="abstractProcess.command" type="QString">/usr/bin/qmake-qt4</value>
+   <value key="abstractProcess.enabled" type="bool">false</value>
+   <value key="abstractProcess.workingDirectory" type="QString">/home/hamartin/Documents/Hobby/rctxduino/tools/jstt</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Debug-buildstep1</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
+   <valuelist key="abstractProcess.Environment" type="QVariantList">
+    <value type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bDFx1C4Jwo,guid=0604b65954467f9c372273710000000b</value>
+    <value type="QString">DESKTOP_SESSION=default</value>
+    <value type="QString">DISPLAY=:0.0</value>
+    <value type="QString">GDMSESSION=default</value>
+    <value type="QString">GDM_KEYBOARD_LAYOUT=no</value>
+    <value type="QString">GDM_LANG=en_GB.utf8</value>
+    <value type="QString">GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
+    <value type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-zwAQcM</value>
+    <value type="QString">GNOME_KEYRING_PID=2263</value>
+    <value type="QString">GPG_AGENT_INFO=/tmp/seahorse-Yo7dqr/S.gpg-agent:2332:1</value>
+    <value type="QString">GTK_MODULES=canberra-gtk-module</value>
+    <value type="QString">GTK_RC_FILES=/etc/gtk/gtkrc:/home/hamartin/.gtkrc-1.2-gnome2</value>
+    <value type="QString">HOME=/home/hamartin</value>
+    <value type="QString">LANG=en_GB.utf8</value>
+    <value type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator</value>
+    <value type="QString">LOGNAME=hamartin</value>
+    <value type="QString">ORBIT_SOCKETDIR=/tmp/orbit-hamartin</value>
+    <value type="QString">PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:~/.bins</value>
+    <value type="QString">PWD=/home/hamartin</value>
+    <value type="QString">QTDIR=/usr/share/qt4</value>
+    <value type="QString">SESSION_MANAGER=local/Yggdrasil:@/tmp/.ICE-unix/2282,unix/Yggdrasil:/tmp/.ICE-unix/2282</value>
+    <value type="QString">SHELL=/bin/bash</value>
+    <value type="QString">SSH_AGENT_PID=2318</value>
+    <value type="QString">SSH_AUTH_SOCK=/tmp/keyring-zwAQcM/ssh</value>
+    <value type="QString">USER=hamartin</value>
+    <value type="QString">USERNAME=hamartin</value>
+    <value type="QString">WINDOWPATH=7</value>
+    <value type="QString">XAUTHORITY=/var/run/gdm3/auth-for-hamartin-wxYjYg/database</value>
+    <value type="QString">XDG_DATA_DIRS=/usr/share/gnome:/usr/share/gdm/:/usr/local/share/:/usr/share/</value>
+    <value type="QString">XDG_SESSION_COOKIE=5593fda0c83485f3d38cc04e00000004-1315250992.576781-1080984304</value>
+   </valuelist>
+   <value key="abstractProcess.IgnoreReturnValue" type="bool">false</value>
+   <valuelist key="abstractProcess.arguments" type="QVariantList">
+    <value type="QString">-w</value>
+   </valuelist>
+   <value key="abstractProcess.command" type="QString">/usr/bin/make</value>
+   <value key="abstractProcess.enabled" type="bool">true</value>
+   <value key="abstractProcess.workingDirectory" type="QString">/home/hamartin/Documents/Hobby/rctxduino/tools/jstt</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Debug-cleanstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
+   <valuelist key="abstractProcess.Environment" type="QVariantList">
+    <value type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bDFx1C4Jwo,guid=0604b65954467f9c372273710000000b</value>
+    <value type="QString">DESKTOP_SESSION=default</value>
+    <value type="QString">DISPLAY=:0.0</value>
+    <value type="QString">GDMSESSION=default</value>
+    <value type="QString">GDM_KEYBOARD_LAYOUT=no</value>
+    <value type="QString">GDM_LANG=en_GB.utf8</value>
+    <value type="QString">GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
+    <value type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-zwAQcM</value>
+    <value type="QString">GNOME_KEYRING_PID=2263</value>
+    <value type="QString">GPG_AGENT_INFO=/tmp/seahorse-Yo7dqr/S.gpg-agent:2332:1</value>
+    <value type="QString">GTK_MODULES=canberra-gtk-module</value>
+    <value type="QString">GTK_RC_FILES=/etc/gtk/gtkrc:/home/hamartin/.gtkrc-1.2-gnome2</value>
+    <value type="QString">HOME=/home/hamartin</value>
+    <value type="QString">LANG=en_GB.utf8</value>
+    <value type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator</value>
+    <value type="QString">LOGNAME=hamartin</value>
+    <value type="QString">ORBIT_SOCKETDIR=/tmp/orbit-hamartin</value>
+    <value type="QString">PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:~/.bins</value>
+    <value type="QString">PWD=/home/hamartin</value>
+    <value type="QString">QTDIR=/usr/share/qt4</value>
+    <value type="QString">SESSION_MANAGER=local/Yggdrasil:@/tmp/.ICE-unix/2282,unix/Yggdrasil:/tmp/.ICE-unix/2282</value>
+    <value type="QString">SHELL=/bin/bash</value>
+    <value type="QString">SSH_AGENT_PID=2318</value>
+    <value type="QString">SSH_AUTH_SOCK=/tmp/keyring-zwAQcM/ssh</value>
+    <value type="QString">USER=hamartin</value>
+    <value type="QString">USERNAME=hamartin</value>
+    <value type="QString">WINDOWPATH=7</value>
+    <value type="QString">XAUTHORITY=/var/run/gdm3/auth-for-hamartin-wxYjYg/database</value>
+    <value type="QString">XDG_DATA_DIRS=/usr/share/gnome:/usr/share/gdm/:/usr/local/share/:/usr/share/</value>
+    <value type="QString">XDG_SESSION_COOKIE=5593fda0c83485f3d38cc04e00000004-1315250992.576781-1080984304</value>
+   </valuelist>
+   <value key="abstractProcess.IgnoreReturnValue" type="bool">true</value>
+   <valuelist key="abstractProcess.arguments" type="QVariantList">
+    <value type="QString">clean</value>
+    <value type="QString">-w</value>
+   </valuelist>
+   <value key="abstractProcess.command" type="QString">/usr/bin/make</value>
+   <value key="abstractProcess.enabled" type="bool">true</value>
+   <value key="abstractProcess.workingDirectory" type="QString">/home/hamartin/Documents/Hobby/rctxduino/tools/jstt</value>
+   <value key="cleanConfig" type="bool">true</value>
+   <valuelist key="makeargs" type="QVariantList">
+    <value type="QString">clean</value>
+   </valuelist>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Release-buildstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Release-buildstep1</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfiguration-Release-cleanstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildconfigurations</variable>
+  <valuelist type="QVariantList">
+   <value type="QString">Debug</value>
+   <value type="QString">Release</value>
+  </valuelist>
+ </data>
+ <data>
+  <variable>buildstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
+   <value key="mkspec" type="QString"></value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildstep1</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>buildsteps</variable>
+  <valuelist type="QVariantList">
+   <value type="QString">trolltech.qt4projectmanager.qmake</value>
+   <value type="QString">trolltech.qt4projectmanager.make</value>
+  </valuelist>
+ </data>
+ <data>
+  <variable>cleanstep0</variable>
+  <valuemap type="QVariantMap">
+   <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
+   <value key="clean" type="bool">true</value>
+  </valuemap>
+ </data>
+ <data>
+  <variable>cleansteps</variable>
+  <valuelist type="QVariantList">
+   <value type="QString">trolltech.qt4projectmanager.make</value>
+  </valuelist>
+ </data>
+ <data>
+  <variable>defaultFileEncoding</variable>
+  <value type="QByteArray">System</value>
+ </data>
+ <data>
+  <variable>project</variable>
+  <valuemap type="QVariantMap"/>
+ </data>
+</qtcreator>
diff --git a/tools/jstt/jstt.ui b/tools/jstt/jstt.ui
new file mode 100644 (file)
index 0000000..599d232
--- /dev/null
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>jstt</class>
+ <widget class="QMainWindow" name="jstt">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>350</width>
+    <height>344</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>jstt</string>
+  </property>
+  <widget class="QWidget" name="centralWidget">
+   <widget class="QWidget" name="horizontalLayoutWidget">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>180</y>
+      <width>331</width>
+      <height>31</height>
+     </rect>
+    </property>
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
+      <widget class="QLabel" name="label_4">
+       <property name="text">
+        <string>TextLabel</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLabel" name="label_3">
+       <property name="text">
+        <string>TextLabel</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLabel" name="label_2">
+       <property name="text">
+        <string>TextLabel</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>TextLabel</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </widget>
+   <widget class="QWidget" name="horizontalLayoutWidget_2">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>10</y>
+      <width>331</width>
+      <height>161</height>
+     </rect>
+    </property>
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <item>
+      <spacer name="horizontalSpacer_4">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QProgressBar" name="Akse_1">
+       <property name="value">
+        <number>24</number>
+       </property>
+       <property name="orientation">
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="format">
+        <string/>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>50</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QProgressBar" name="Akse_2">
+       <property name="value">
+        <number>24</number>
+       </property>
+       <property name="orientation">
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="format">
+        <string/>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_2">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>50</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QProgressBar" name="Akse_3">
+       <property name="value">
+        <number>24</number>
+       </property>
+       <property name="orientation">
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="format">
+        <string/>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_3">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>50</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QProgressBar" name="Akse_0">
+       <property name="value">
+        <number>24</number>
+       </property>
+       <property name="orientation">
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="format">
+        <string/>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_5">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </widget>
+   <widget class="QComboBox" name="Joysticks">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>220</y>
+      <width>331</width>
+      <height>27</height>
+     </rect>
+    </property>
+   </widget>
+   <widget class="QComboBox" name="Joysticks_2">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>250</y>
+      <width>331</width>
+      <height>27</height>
+     </rect>
+    </property>
+    <item>
+     <property name="text">
+      <string>Mode 1</string>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string>Mode 2</string>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string>Mode 3</string>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string>Mode 4</string>
+     </property>
+    </item>
+   </widget>
+  </widget>
+  <widget class="QMenuBar" name="menuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>350</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menuFile">
+    <property name="title">
+     <string>File</string>
+    </property>
+    <addaction name="actionAbout"/>
+    <addaction name="actionHelp"/>
+    <addaction name="separator"/>
+    <addaction name="actionQuit"/>
+   </widget>
+   <addaction name="menuFile"/>
+  </widget>
+  <widget class="QToolBar" name="mainToolBar">
+   <attribute name="toolBarArea">
+    <enum>TopToolBarArea</enum>
+   </attribute>
+   <attribute name="toolBarBreak">
+    <bool>false</bool>
+   </attribute>
+  </widget>
+  <widget class="QStatusBar" name="statusBar"/>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
+  <action name="actionHelp">
+   <property name="text">
+    <string>Help</string>
+   </property>
+  </action>
+  <action name="actionQuit">
+   <property name="text">
+    <string>Quit</string>
+   </property>
+  </action>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/tools/jstt/main.cpp b/tools/jstt/main.cpp
new file mode 100644 (file)
index 0000000..61b9494
--- /dev/null
@@ -0,0 +1,10 @@
+#include <QtGui/QApplication>
+#include "jstt.h"
+
+int main(int argc, char *argv[])
+{
+    QApplication a(argc, argv);
+    jstt w;
+    w.show();
+    return a.exec();
+}
diff --git a/tools/jstt/main.o b/tools/jstt/main.o
new file mode 100644 (file)
index 0000000..9464440
Binary files /dev/null and b/tools/jstt/main.o differ
diff --git a/tools/jstt/moc_jstt.cpp b/tools/jstt/moc_jstt.cpp
new file mode 100644 (file)
index 0000000..7c1fb2f
--- /dev/null
@@ -0,0 +1,69 @@
+/****************************************************************************
+** Meta object code from reading C++ file 'jstt.h'
+**
+** Created: Mon Sep 5 22:51:54 2011
+**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.3)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#include "jstt.h"
+#if !defined(Q_MOC_OUTPUT_REVISION)
+#error "The header file 'jstt.h' doesn't include <QObject>."
+#elif Q_MOC_OUTPUT_REVISION != 62
+#error "This file was generated using the moc from 4.6.3. 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
+static const uint qt_meta_data_jstt[] = {
+
+ // content:
+       4,       // revision
+       0,       // classname
+       0,    0, // classinfo
+       0,    0, // methods
+       0,    0, // properties
+       0,    0, // enums/sets
+       0,    0, // constructors
+       0,       // flags
+       0,       // signalCount
+
+       0        // eod
+};
+
+static const char qt_meta_stringdata_jstt[] = {
+    "jstt\0"
+};
+
+const QMetaObject jstt::staticMetaObject = {
+    { &QMainWindow::staticMetaObject, qt_meta_stringdata_jstt,
+      qt_meta_data_jstt, 0 }
+};
+
+#ifdef Q_NO_DATA_RELOCATION
+const QMetaObject &jstt::getStaticMetaObject() { return staticMetaObject; }
+#endif //Q_NO_DATA_RELOCATION
+
+const QMetaObject *jstt::metaObject() const
+{
+    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+}
+
+void *jstt::qt_metacast(const char *_clname)
+{
+    if (!_clname) return 0;
+    if (!strcmp(_clname, qt_meta_stringdata_jstt))
+        return static_cast<void*>(const_cast< jstt*>(this));
+    return QMainWindow::qt_metacast(_clname);
+}
+
+int jstt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
+{
+    _id = QMainWindow::qt_metacall(_c, _id, _a);
+    if (_id < 0)
+        return _id;
+    return _id;
+}
+QT_END_MOC_NAMESPACE
diff --git a/tools/jstt/moc_jstt.o b/tools/jstt/moc_jstt.o
new file mode 100644 (file)
index 0000000..521e598
Binary files /dev/null and b/tools/jstt/moc_jstt.o differ
diff --git a/tools/jstt/ui_jstt.h b/tools/jstt/ui_jstt.h
new file mode 100644 (file)
index 0000000..a5e3dc9
--- /dev/null
@@ -0,0 +1,223 @@
+/********************************************************************************
+** Form generated from reading UI file 'jstt.ui'
+**
+** Created: Mon Sep 5 23:04:32 2011
+**      by: Qt User Interface Compiler version 4.6.3
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_JSTT_H
+#define UI_JSTT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QComboBox>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QProgressBar>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QStatusBar>
+#include <QtGui/QToolBar>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_jstt
+{
+public:
+    QAction *actionAbout;
+    QAction *actionHelp;
+    QAction *actionQuit;
+    QWidget *centralWidget;
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QLabel *label_4;
+    QLabel *label_3;
+    QLabel *label_2;
+    QLabel *label;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QSpacerItem *horizontalSpacer_4;
+    QProgressBar *Akse_1;
+    QSpacerItem *horizontalSpacer;
+    QProgressBar *Akse_2;
+    QSpacerItem *horizontalSpacer_2;
+    QProgressBar *Akse_3;
+    QSpacerItem *horizontalSpacer_3;
+    QProgressBar *Akse_0;
+    QSpacerItem *horizontalSpacer_5;
+    QComboBox *Joysticks;
+    QComboBox *Joysticks_2;
+    QMenuBar *menuBar;
+    QMenu *menuFile;
+    QToolBar *mainToolBar;
+    QStatusBar *statusBar;
+
+    void setupUi(QMainWindow *jstt)
+    {
+        if (jstt->objectName().isEmpty())
+            jstt->setObjectName(QString::fromUtf8("jstt"));
+        jstt->resize(350, 344);
+        actionAbout = new QAction(jstt);
+        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+        actionHelp = new QAction(jstt);
+        actionHelp->setObjectName(QString::fromUtf8("actionHelp"));
+        actionQuit = new QAction(jstt);
+        actionQuit->setObjectName(QString::fromUtf8("actionQuit"));
+        centralWidget = new QWidget(jstt);
+        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
+        horizontalLayoutWidget = new QWidget(centralWidget);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(10, 180, 331, 31));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setSpacing(6);
+        horizontalLayout->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        label_4 = new QLabel(horizontalLayoutWidget);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        horizontalLayout->addWidget(label_4);
+
+        label_3 = new QLabel(horizontalLayoutWidget);
+        label_3->setObjectName(QString::fromUtf8("label_3"));
+
+        horizontalLayout->addWidget(label_3);
+
+        label_2 = new QLabel(horizontalLayoutWidget);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        horizontalLayout->addWidget(label_2);
+
+        label = new QLabel(horizontalLayoutWidget);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        horizontalLayout->addWidget(label);
+
+        horizontalLayoutWidget_2 = new QWidget(centralWidget);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(10, 10, 331, 161));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setSpacing(6);
+        horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer_4);
+
+        Akse_1 = new QProgressBar(horizontalLayoutWidget_2);
+        Akse_1->setObjectName(QString::fromUtf8("Akse_1"));
+        Akse_1->setValue(24);
+        Akse_1->setOrientation(Qt::Vertical);
+
+        horizontalLayout_2->addWidget(Akse_1);
+
+        horizontalSpacer = new QSpacerItem(50, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer);
+
+        Akse_2 = new QProgressBar(horizontalLayoutWidget_2);
+        Akse_2->setObjectName(QString::fromUtf8("Akse_2"));
+        Akse_2->setValue(24);
+        Akse_2->setOrientation(Qt::Vertical);
+
+        horizontalLayout_2->addWidget(Akse_2);
+
+        horizontalSpacer_2 = new QSpacerItem(50, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer_2);
+
+        Akse_3 = new QProgressBar(horizontalLayoutWidget_2);
+        Akse_3->setObjectName(QString::fromUtf8("Akse_3"));
+        Akse_3->setValue(24);
+        Akse_3->setOrientation(Qt::Vertical);
+
+        horizontalLayout_2->addWidget(Akse_3);
+
+        horizontalSpacer_3 = new QSpacerItem(50, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer_3);
+
+        Akse_0 = new QProgressBar(horizontalLayoutWidget_2);
+        Akse_0->setObjectName(QString::fromUtf8("Akse_0"));
+        Akse_0->setValue(24);
+        Akse_0->setOrientation(Qt::Vertical);
+
+        horizontalLayout_2->addWidget(Akse_0);
+
+        horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        horizontalLayout_2->addItem(horizontalSpacer_5);
+
+        Joysticks = new QComboBox(centralWidget);
+        Joysticks->setObjectName(QString::fromUtf8("Joysticks"));
+        Joysticks->setGeometry(QRect(10, 220, 331, 27));
+        Joysticks_2 = new QComboBox(centralWidget);
+        Joysticks_2->setObjectName(QString::fromUtf8("Joysticks_2"));
+        Joysticks_2->setGeometry(QRect(10, 250, 331, 27));
+        jstt->setCentralWidget(centralWidget);
+        menuBar = new QMenuBar(jstt);
+        menuBar->setObjectName(QString::fromUtf8("menuBar"));
+        menuBar->setGeometry(QRect(0, 0, 350, 25));
+        menuFile = new QMenu(menuBar);
+        menuFile->setObjectName(QString::fromUtf8("menuFile"));
+        jstt->setMenuBar(menuBar);
+        mainToolBar = new QToolBar(jstt);
+        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
+        jstt->addToolBar(Qt::TopToolBarArea, mainToolBar);
+        statusBar = new QStatusBar(jstt);
+        statusBar->setObjectName(QString::fromUtf8("statusBar"));
+        jstt->setStatusBar(statusBar);
+
+        menuBar->addAction(menuFile->menuAction());
+        menuFile->addAction(actionAbout);
+        menuFile->addAction(actionHelp);
+        menuFile->addSeparator();
+        menuFile->addAction(actionQuit);
+
+        retranslateUi(jstt);
+
+        QMetaObject::connectSlotsByName(jstt);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *jstt)
+    {
+        jstt->setWindowTitle(QApplication::translate("jstt", "jstt", 0, QApplication::UnicodeUTF8));
+        actionAbout->setText(QApplication::translate("jstt", "About", 0, QApplication::UnicodeUTF8));
+        actionHelp->setText(QApplication::translate("jstt", "Help", 0, QApplication::UnicodeUTF8));
+        actionQuit->setText(QApplication::translate("jstt", "Quit", 0, QApplication::UnicodeUTF8));
+        label_4->setText(QApplication::translate("jstt", "TextLabel", 0, QApplication::UnicodeUTF8));
+        label_3->setText(QApplication::translate("jstt", "TextLabel", 0, QApplication::UnicodeUTF8));
+        label_2->setText(QApplication::translate("jstt", "TextLabel", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("jstt", "TextLabel", 0, QApplication::UnicodeUTF8));
+        Akse_1->setFormat(QString());
+        Akse_2->setFormat(QString());
+        Akse_3->setFormat(QString());
+        Akse_0->setFormat(QString());
+        Joysticks_2->clear();
+        Joysticks_2->insertItems(0, QStringList()
+         << QApplication::translate("jstt", "Mode 1", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("jstt", "Mode 2", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("jstt", "Mode 3", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("jstt", "Mode 4", 0, QApplication::UnicodeUTF8)
+        );
+        menuFile->setTitle(QApplication::translate("jstt", "File", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class jstt: public Ui_jstt {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_JSTT_H