Image in FreeCAD Qt widget

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
loban_iv
Posts: 12
Joined: Wed Jan 13, 2021 11:24 am

Image in FreeCAD Qt widget

Post by loban_iv »

Hi
I try to make FreeCAD widget with embedded image like this
Image
Image insert in label
In FreeCad I have some thing like this
Image
Is it possible to embed image to widget?
Thank You
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Image in FreeCAD Qt widget

Post by chrisb »

It is possible, as to be seen e.g. in Path workbench's tool controller.
Attachments
Snip macro screenshot-c4d630.png
Snip macro screenshot-c4d630.png (25.39 KiB) Viewed 312 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
mario52
Veteran
Posts: 4698
Joined: Wed May 16, 2012 2:13 pm

Re: Image in FreeCAD Qt widget

Post by mario52 »

Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply