From 3f047aabaf3bb10456a4737212177aa146aa54fd Mon Sep 17 00:00:00 2001 From: Franck Bettinger Date: Wed, 11 Sep 2002 16:41:11 -0400 Subject: test for QTWarpUI --- Tests/Wrapping/qtwrapping.ui | 44 +++++++++++++++++++++++++++++++++++++++ Tests/Wrapping/qtwrappingmain.cxx | 15 +++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 Tests/Wrapping/qtwrapping.ui create mode 100644 Tests/Wrapping/qtwrappingmain.cxx 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 @@ + +qtwrapping + + QDialog + + name + qtwrapping + + + geometry + + 0 + 0 + 229 + 38 + + + + caption + QTWrapUI Test program + + + + margin + 11 + + + spacing + 6 + + + QLabel + + name + TextLabel1 + + + text + This is a test for QTWrapUI. + + + + + 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 +#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; +} -- cgit v0.12