how to create connections for dynamic widgets in qt
how to create connections for dynamic widgets in qt
what do you mean? this?
Qt Code:
... void MyWidget::showNewWidget() { MyAnotherWidget *maw = new MyAnotherWidget(this); maw->setAttribute(Qt::WA_DeleteOnClose); connect(maw, SIGNAL(mySignal()), SLOT(mySlot())); } ...To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks