Embedding pixmaps in plugin and setting pane icon

T-BoneT-Bone Posts: 4
edited September 2021 in Daz SDK Developer Discussion

Hello:
I'm wondering how to go about embedding pixmaps/icons in a plugin dll as well as how to set the pane icon in the window->panes menu.   I've tried implementing DzAction::getIconFile()  but that has been unsuccesful.  Any help would be appriciated. Thanks.

 

Edit:
I wound up figuring it out using rcc from QT to generate a resources.cpp and including that in my project.  To set the icon for the DzPane call DzAction::setIcon(":/resources/mypng.png") int the constructor of your action. 

Post edited by T-Bone on
Sign In or Register to comment.