Embedding pixmaps in plugin and setting pane icon

gamplodgamplod Posts: 3

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 gamplod on
Sign In or Register to comment.