00001 /*! @file Qt/test-Qt.cpp basic Qt widget toy */ 00002 00003 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Qt/test-Qt.cpp $ 00004 // $Id: test-Qt.cpp 5957 2005-11-16 18:10:52Z rjpeters $ 00005 00006 #include <qapplication.h> 00007 #include "Qt/ui/QtTestForm.h" 00008 #include "Util/Types.H" 00009 #include "Util/log.H" 00010 00011 int main( int argc, char ** argv ) 00012 { 00013 QApplication a( argc, argv ); 00014 QtTestForm *w = new QtTestForm; 00015 w->show(); 00016 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); 00017 LINFO( "Now starting application test-Qt" ); 00018 return a.exec(); 00019 }