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

MyWidget Class Reference

List of all members.

Public Member Functions

 MyWidget (QWidget *parent=0, const char *name=0)

Constructor & Destructor Documentation

MyWidget QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 24 of file boost-build/example/qt/main.cpp.

References c, and r.

00025         : QVBox( parent, name )
00026 {
00027     QPushButton *quit = new QPushButton( "Quit", this, "quit" );
00028     quit->setFont( QFont( "Times", 18, QFont::Bold ) );
00029 
00030     connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
00031 
00032     QGrid *grid = new QGrid( 4, this );
00033 
00034     LCDRange *previous = 0;
00035     for( int r = 0 ; r < 4 ; r++ ) {
00036     for( int c = 0 ; c < 4 ; c++ ) {
00037         LCDRange* lr = new LCDRange( grid );
00038         if ( previous )
00039         connect( lr, SIGNAL(valueChanged(int)),
00040              previous, SLOT(setValue(int)) );
00041         previous = lr;
00042     }
00043     }
00044 }


The documentation for this class was generated from the following file:
Generated on Mon Nov 8 17:08:40 2004 for MPT by  doxygen 1.3.9.1