Hey,

I have a doubt! I have done a map of widgets like this:

int main( int argc, char **argv )
{
QApplication app( argc, argv );


QMap<int, MyWidget *> map;

for( int i=1; i<10; i++ ){
map[i]=new MyWidget( QObject::tr( "Window #%1" ).arg( i ) );
}

In that way i 'm not able to add the different widgets that my application has to have.
But could i add to this map the my different widgets (different .ui)?