Hi,
I created a Dialog using Qt 3.3.7, now I want to add buttons and labels.
When I tried to add like this..
dlg
->setCaption
( QDialog::tr( "Caption" ) );
QDialog *dlg = new QDialog(0,"title");
dlg->setCaption( QDialog::tr( "Caption" ) );
QLabel* lbl = new QLabel("Test Label",dlg);
QPushButton* btn = new QPushButton("&press",dlg);
QPushButton* btn1 = new QPushButton("e&xit",dlg);
To copy to clipboard, switch view to plain text mode
It overwrites the properties.
What is the correct way to do this?
Thanks,
*npc*
Bookmarks