You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/tools/designer/examples/receiver1/mainform.ui.h

26 lines
491 B

void MainForm::init()
{
}
void MainForm::destroy()
{
}
void MainForm::creditDialog()
{
TQDialog *creditForm = (TQDialog *)
TQWidgetFactory::create( "../credit/creditformbase.ui" );
// Set up the dynamic dialog here
if ( creditForm->exec() ) {
// The user accepted, act accordingly
TQSpinBox *amount = (TQSpinBox *) creditForm->child( "amountSpinBox", "TQSpinBox" );
if ( amount )
ratingTextLabel->setText( amount->text() );
}
delete creditForm;
}