diff options
-rw-r--r-- | Tests/Wrapping/qtwrapping.ui | 44 | ||||
-rw-r--r-- | Tests/Wrapping/qtwrappingmain.cxx | 15 |
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; +} |