gt.beta2
25th February 2009, 10:55
Hello
I have buttons that i want to change the icon image file depending on some situations.
I use:
ui->objectname->setPixmap(QPixmap(":/prefix/alias"));
Is the a way to read the resource name into a QString (for instance)?
Thanks
I have buttons that i want to change the icon image file depending on some situations.
I use:
ui->objectname->setPixmap(QPixmap(":/prefix/alias"));
Is the a way to read the resource name into a QString (for instance)?
Thanks