summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/receiver1/mainform.ui.h
blob: e19324e9543c50560898a737c26b7451d7385281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
}