Hi,
I've got a pre-processor for QCAD-CAM that I'm expanding, and need to add some menu/toolbar options. They're related to the specific post-processor, so only should be shown when it's selected and is being used.
I've found a programatic way of updating the CAM Configuration dialogue, but I have no idea about Qt, so unsure how I'd amend the toolbars/menus in the same way. I know I can create new menus etc using the folder structure (and have been playing with the samples), but I need everything to be contained within the pre-processor's .js file.
Thanks
Adding to menus/toolbar within script
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Junior Member
- Posts: 22
- Joined: Wed Nov 08, 2023 11:24 am
Re: Adding to menus/toolbar within script
I wouldn't recommend adding menus or toolbars for a particular post processor (although it's likely possible).
If possible, add configuration options to the CAM Configuration dialog.
Perhaps, you can elaborate on the tools you want to add, so I can be more helpful.
If possible, add configuration options to the CAM Configuration dialog.
Perhaps, you can elaborate on the tools you want to add, so I can be more helpful.