test-GrabQt.cpp

Go to the documentation of this file.
00001 /*! @file Qt/test-GrabQt.cpp basic Qt framegrabber toy
00002 (take a picture of yourself with it!) */
00003 
00004 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Qt/test-GrabQt.cpp $
00005 // $Id: test-GrabQt.cpp 5957 2005-11-16 18:10:52Z rjpeters $
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 }
Generated on Sun May 8 08:05:33 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3