It looks like you're new here. If you want to get involved, click one of these buttons!
I am working on a code that will take input from a Qt window and automatically generate some shapes in the current view. Just for clarity, I'm basically just generating a couple rectangles where the user will later place down smaller shapes on top and then run some rule checks. I know that I can hide some cells, but the whole point is that the user needs to be able to see the borders of the background rectangles / other shapes and be able to place the smaller shapes along that border if needed. So it would just be easiest if those shapes were not movable or editable to avoid accidental movement while still being able to snap onto those edges.
I looked through the documentation but couldn't find anything that would allow me to lock the location and dimensions of a shape I've created. The closest thing I could find was the basic editor options, but the user would need to select those options manually -- and even then, they are still allowed to edit the dimensions of the shapes. If possible I'd like to lock the dimensions & locations of a few shapes, and in another case only lock the width of the shape and allow the user to edit the length but dragging the edge like usual. Are there any methods for this? If this is something that the program was not intended for then I understand - just figured I'd ask in case I was missing something obvious.
Thanks for your time & help.