Hi
How do i pass a QIcon to a function in other class, so that it uses the icon, lets say, in a QPushButton.
I trie something like this:
Qt Code:
{ ui->pushButton->setIcon(x); }To copy to clipboard, switch view to plain text mode
Is this the way or just a wrong approach?
Thanks
Bookmarks