From: vruz Date: 2004-09-09T12:36:27+09:00 Subject: Re: [ANN] Korundum 3.3.1 beta Do we have QWidgetFactory in the new release ? The Qt 3.3 docs mention something about some headers needed, this is powerful stuff, It'd be nice to have. http://doc.trolltech.com/3.3/qwidgetfactory.html I would like to do something like the following, but in ruby: ..................... void MainForm::creditDialog() { QDialog *creditForm = (QDialog *) QWidgetFactory::create( "../credit/creditformbase.ui" ); // Set up the dynamic dialog here if ( creditForm->exec() ) { // The user accepted, act accordingly QSpinBox *amount = (QSpinBox *) creditForm->child( "amountSpinBox", "QSpinBox" ); if ( amount ) ratingTextLabel->setText( amount->text() ); } delete creditForm; } ............... cheers ! -- --- vruz