The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

boost-build/example/qt-ui/main.cpp

Go to the documentation of this file.
00001 #include "hello_world_widget.h"
00002 #include <qapplication.h>
00003 
00004 #include <qpushbutton.h>
00005 
00006 int main(int argc, char **argv) {
00007     QApplication a(argc, argv);
00008     HelloWorldWidget w;
00009     QObject::connect(static_cast<QObject*>(w.OkButton), SIGNAL(clicked()), &w, SLOT(close()));
00010     a.setMainWidget(&w);
00011     w.show();
00012     return a.exec();
00013 }

Generated on Mon Nov 8 17:07:41 2004 for MPT by  doxygen 1.3.9.1