Re: Icon sets
Posted by xnakos on Oct 03, 2012; 4:27pm
URL: https://forum.librecad.org/Icon-sets-tp5707060p5707083.html
Using inkscape I created an svg. Page size 700px x 700px, i.e. square. I created a 3d cube inside the page and saved it as zoompan.svg in ./LibreCAD/librecad/res/actions/
I had a fresh LibreCAD copy just cloned from github. I went on and changed those two files in these positions:
./LibreCAD/librecad/src/actions/rs_actionzoompan.cpp: action->setIcon(QIcon(":/actions/zoompan.png"));
./LibreCAD/librecad/res/actions/actions.qrc:<file>zoompan.png</file>
and turned zoompan.png into zoompan.svg in both files.
I compiled and launched LibreCAD after that. The 3d cube was used as the icon. Simple as that!
edit: I also created two more layers with more stuff over the 3d cube. After running make, everything appeared fine again!