you don't have to create a new button since the ui loader does that for you. You can access it as you do via ui->button. So just use that in your connect statement instead your temporary pointer:And for simply displaying an image, you can use QLabel.Qt Code:
connect(ui->button, SIGNAL/*...*/);To copy to clipboard, switch view to plain text mode
Bookmarks