Put an SVG in a Blank Button

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Put an SVG in a Blank Button

Post by John Hyslop » Fri Apr 08, 2022 9:04 am

Hi All

I'm customizing Qcad ATM and would like to know how I can put an SVG file "icon" on some blank buttons without having access to the script itself?
I was thinking if I had a script that activated the command "BW" i could make my own button which might be easier..
There are a couple of icons missing from the "Make All White Layers Black" & "Make All Black Layers White" I'm only interested in the 1st one plus it might be easier as it has a hotkey BW... Could anyone help the 2 blank ones here are what I'm talking about..
UserToolBar.png
UserToolBar.png (17.15 KiB) Viewed 1581 times
And I would like to change at least the one on the left BW to this below..
B-W.png
B-W.png (669 Bytes) Viewed 1581 times
Basic SVG here if someone wants to play with it..
B2W.svg
(13.04 KiB) Downloaded 245 times
Cheers
John Hyslop
Linux Mint 20.3 / QcadCAM Version 3.27.1
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Put an SVG in a Blank Button

Post by CVH » Sat Apr 09, 2022 7:41 pm

John,
icons are controlled within the init script ....

Regards,
CVH

Post Reply

Return to “QCAD 'How Do I' Questions”