sonu111
13th December 2008, 10:32
how to create connections for dynamic widgets in qt
spirit
13th December 2008, 12:59
what do you mean? this?
...
void MyWidget::showNewWidget()
{
MyAnotherWidget *maw = new MyAnotherWidget(this);
maw->setAttribute(Qt::WA_DeleteOnClose);
connect(maw, SIGNAL(mySignal()), SLOT(mySlot()));
}
...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.