test-GrabQt.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #include "Qt/ui/GrabQtMainForm.h"
00008 #include "QtUtil/Util.H"
00009
00010 #include <qapplication.h>
00011
00012 int main( int argc, const char ** argv )
00013 {
00014 QApplication a( argc, argv2qt( argc, argv ) );
00015 GrabQtMainForm gq;
00016 gq.init( argc, argv );
00017 gq.show();
00018 gq.move( 10, 10 );
00019 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
00020 return a.exec();
00021 }