You can't do these from within Designer. Use either multiple or single inheritance approach and create custom slots for doing those tasks.
Qt Code:
connect(ui.pushButton, SIGNAL(clicked()), this, SLOT(newItem())); void MyForm::newItem() { ui.listWidget->addItem(ui.lineEdit->text()); }To copy to clipboard, switch view to plain text mode
Bookmarks