Gesture Output
authorMjolnir <thomas.pietrzak@inria.fr>
Fri, 4 Sep 2015 08:41:10 +0000 (10:41 +0200)
committerMjolnir <thomas.pietrzak@inria.fr>
Fri, 4 Sep 2015 08:41:10 +0000 (10:41 +0200)
LivingDemos/GestureOutput.cpp [new file with mode: 0644]
LivingDemos/GestureOutput.h [new file with mode: 0644]
LivingDemos/gestureoutput.ui [new file with mode: 0644]

diff --git a/LivingDemos/GestureOutput.cpp b/LivingDemos/GestureOutput.cpp
new file mode 100644 (file)
index 0000000..59d33fd
--- /dev/null
@@ -0,0 +1,14 @@
+#include "GestureOutput.h"
+#include "ui_gestureoutput.h"
+
+GestureOutput::GestureOutput(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::GestureOutput)
+{
+    ui->setupUi(this);
+}
+
+GestureOutput::~GestureOutput()
+{
+    delete ui;
+}
diff --git a/LivingDemos/GestureOutput.h b/LivingDemos/GestureOutput.h
new file mode 100644 (file)
index 0000000..ce6f181
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef GESTUREOUTPUT_H
+#define GESTUREOUTPUT_H
+
+#include <QDialog>
+
+namespace Ui {
+    class GestureOutput;
+}
+
+class GestureOutput : public QDialog
+{
+        Q_OBJECT
+
+    public:
+        explicit GestureOutput(QWidget *parent = 0);
+        ~GestureOutput();
+
+    private:
+        Ui::GestureOutput *ui;
+};
+
+#endif // GESTUREOUTPUT_H
diff --git a/LivingDemos/gestureoutput.ui b/LivingDemos/gestureoutput.ui
new file mode 100644 (file)
index 0000000..575b262
--- /dev/null
@@ -0,0 +1,71 @@
+<ui version="4.0">
+ <author/>
+ <comment/>
+ <exportmacro/>
+ <class>GestureOutput</class>
+ <widget class="QDialog" name="GestureOutput">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>300</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Dialog</string>
+  </property>
+  <widget class="QDialogButtonBox" name="buttonBox">
+   <property name="geometry">
+    <rect>
+     <x>30</x>
+     <y>240</y>
+     <width>341</width>
+     <height>32</height>
+    </rect>
+   </property>
+   <property name="orientation">
+    <enum>Qt::Horizontal</enum>
+   </property>
+   <property name="standardButtons">
+    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+   </property>
+  </widget>
+ </widget>
+ <pixmapfunction/>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>GestureOutput</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>248</x>
+     <y>254</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>157</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>GestureOutput</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>316</x>
+     <y>260</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>286</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>