to all controls you can get access using ui->.
so, you code should look like
that's all.Qt Code:
... connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(myFunction1())); ...To copy to clipboard, switch view to plain text mode
now you can remove a lable and a pushbutton from class declaration.





Reply With Quote
Bookmarks