Hello
I have buttons that i want to change the icon image file depending on some situations.
I use:
Is the a way to read the resource name into a QString (for instance)?Qt Code:
To copy to clipboard, switch view to plain text mode
Thanks
Hello
I have buttons that i want to change the icon image file depending on some situations.
I use:
Is the a way to read the resource name into a QString (for instance)?Qt Code:
To copy to clipboard, switch view to plain text mode
Thanks
No. Once an image has been loaded, there is no reference to any file at all. Loading images from files is provided for convenience. Images can be loaded directly from an array of bytes too, without files involved.
J-P Nurmi
Bookmarks