summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping
diff options
context:
space:
mode:
authorFranck Bettinger <bettingf@cs.man.ac.uk>2002-09-11 20:41:11 (GMT)
committerFranck Bettinger <bettingf@cs.man.ac.uk>2002-09-11 20:41:11 (GMT)
commit3f047aabaf3bb10456a4737212177aa146aa54fd (patch)
tree56d4697389ddd82185ac9aa3872a964b9dfb298c /Tests/Wrapping
parent1eb3dd19fce7c382cc0f2c4d43cf116066f40e88 (diff)
downloadCMake-3f047aabaf3bb10456a4737212177aa146aa54fd.zip
CMake-3f047aabaf3bb10456a4737212177aa146aa54fd.tar.gz
CMake-3f047aabaf3bb10456a4737212177aa146aa54fd.tar.bz2
test for QTWarpUI
Diffstat (limited to 'Tests/Wrapping')
-rw-r--r--Tests/Wrapping/qtwrapping.ui44
-rw-r--r--Tests/Wrapping/qtwrappingmain.cxx15
2 files changed, 59 insertions, 0 deletions
diff --git a/Tests/Wrapping/qtwrapping.ui b/Tests/Wrapping/qtwrapping.ui
new file mode 100644
index 0000000..67dcb9f
--- /dev/null
+++ b/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>
diff --git a/Tests/Wrapping/qtwrappingmain.cxx b/Tests/Wrapping/qtwrappingmain.cxx
new file mode 100644
index 0000000..bf67800
--- /dev/null
+++ b/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;
+}