Franck Bettinger před 23 roky
rodič
revize
3f047aabaf
2 změnil soubory, kde provedl 59 přidání a 0 odebrání
  1. 44 0
      Tests/Wrapping/qtwrapping.ui
  2. 15 0
      Tests/Wrapping/qtwrappingmain.cxx

+ 44 - 0
Tests/Wrapping/qtwrapping.ui

@@ -0,0 +1,44 @@
+<!DOCTYPE UI><UI>
+<class>qtwrapping</class>
+<widget>
+    <class>QDialog</class>
+    <property stdset="1">
+        <name>name</name>
+        <cstring>qtwrapping</cstring>
+    </property>
+    <property stdset="1">
+        <name>geometry</name>
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>229</width>
+            <height>38</height>
+        </rect>
+    </property>
+    <property stdset="1">
+        <name>caption</name>
+        <string>QTWrapUI Test program</string>
+    </property>
+    <vbox>
+        <property stdset="1">
+            <name>margin</name>
+            <number>11</number>
+        </property>
+        <property stdset="1">
+            <name>spacing</name>
+            <number>6</number>
+        </property>
+        <widget>
+            <class>QLabel</class>
+            <property stdset="1">
+                <name>name</name>
+                <cstring>TextLabel1</cstring>
+            </property>
+            <property stdset="1">
+                <name>text</name>
+                <string>This is a test for QTWrapUI.</string>
+            </property>
+        </widget>
+    </vbox>
+</widget>
+</UI>

+ 15 - 0
Tests/Wrapping/qtwrappingmain.cxx

@@ -0,0 +1,15 @@
+#include <qapplication.h>
+#include "qtwrapping.h"
+
+int main(int argc, char *argv[])
+{
+
+QApplication app(argc,argv);
+
+qtwrapping qtw;
+app.setMainWidget(&qtw);
+qtw.show();
+
+int ret=app.exec();
+return ret;
+}