00001 /*! @file Qt/QtTestForm.ui.h main window for test-Qt */ 00002 00003 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Qt/QtTestForm.ui.h $ 00004 // $Id: QtTestForm.ui.h 4711 2005-06-27 23:53:44Z zhanshi $ 00005 00006 /**************************************************************************** 00007 ** ui.h extension file, included from the uic-generated form implementation. 00008 ** 00009 ** If you wish to add, delete or rename slots use Qt Designer which will 00010 ** update this file, preserving your code. Create an init() slot in place of 00011 ** a constructor, and a destroy() slot in place of a destructor. 00012 *****************************************************************************/ 00013 00014 #include <qmessagebox.h> 00015 00016 void QtTestForm::showAboutQt() 00017 { 00018 QMessageBox::aboutQt( this, "iLab on Qt" ); 00019 } 00020 00021 00022 void QtTestForm::showAboutiLab() 00023 { 00024 QDialog iLabBox( this, "iLabBox", 1 ); 00025 iLabBox.setCaption( "USC iLab -- Visit us at http://iLab.usc.edu/" ); 00026 iLabBox.setPaletteBackgroundPixmap( *(iLabLogo->pixmap()) ); 00027 iLabBox.setFixedSize( iLabLogo->pixmap()->width(), iLabLogo->pixmap()->height() ); 00028 iLabBox.exec(); 00029 }